From 7c993468018d950d549fae77241a53cb4f68e2ad Mon Sep 17 00:00:00 2001 From: Maarten Buis Date: Mon, 23 Aug 2021 15:47:37 +0200 Subject: [PATCH] [8.x] Use PHPDoc comments from base class in User model (#5676) * Use phpdoc comments from Model class * Update User.php --- app/Models/User.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Models/User.php b/app/Models/User.php index 93afd766..e23e0905 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -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 */