Improves generic types on the skeleton (#5740)

This commit is contained in:
Nuno Maduro
2021-12-03 15:04:57 +00:00
committed by GitHub
parent 7bf32280e2
commit 8a62ca2633
12 changed files with 18 additions and 18 deletions

View File

@@ -15,7 +15,7 @@ class User extends Authenticatable
/**
* The attributes that are mass assignable.
*
* @var string[]
* @var array<int, string>
*/
protected $fillable = [
'name',
@@ -26,7 +26,7 @@ class User extends Authenticatable
/**
* The attributes that should be hidden for serialization.
*
* @var array
* @var array<int, string>
*/
protected $hidden = [
'password',
@@ -36,7 +36,7 @@ class User extends Authenticatable
/**
* The attributes that should be cast.
*
* @var array
* @var array<string, string>
*/
protected $casts = [
'email_verified_at' => 'datetime',