Skip to content

Commit 7c99346

Browse files
authored
[8.x] Use PHPDoc comments from base class in User model (laravel#5676)
* Use phpdoc comments from Model class * Update User.php
1 parent 8677c94 commit 7c99346

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/Models/User.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class User extends Authenticatable
1515
/**
1616
* The attributes that are mass assignable.
1717
*
18-
* @var array
18+
* @var string[]
1919
*/
2020
protected $fillable = [
2121
'name',
@@ -24,7 +24,7 @@ class User extends Authenticatable
2424
];
2525

2626
/**
27-
* The attributes that should be hidden for arrays.
27+
* The attributes that should be hidden for serialization.
2828
*
2929
* @var array
3030
*/
@@ -34,7 +34,7 @@ class User extends Authenticatable
3434
];
3535

3636
/**
37-
* The attributes that should be cast to native types.
37+
* The attributes that should be cast.
3838
*
3939
* @var array
4040
*/

0 commit comments

Comments
 (0)