[8.x] Use PHPDoc comments from base class in User model (#5676)

* Use phpdoc comments from Model class

* Update User.php
This commit is contained in:
Maarten Buis 2021-08-23 15:47:37 +02:00 committed by GitHub
parent 8677c94a50
commit 7c99346801
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ class User extends Authenticatable
/**
* The attributes that are mass assignable.
*
* @var array
* @var string[]
*/
protected $fillable = [
'name',
@ -24,7 +24,7 @@ class User extends Authenticatable
];
/**
* The attributes that should be hidden for arrays.
* The attributes that should be hidden for serialization.
*
* @var array
*/
@ -34,7 +34,7 @@ class User extends Authenticatable
];
/**
* The attributes that should be cast to native types.
* The attributes that should be cast.
*
* @var array
*/