mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
[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:
parent
8677c94a50
commit
7c99346801
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user