Narrow down array types (#6497)

This commit is contained in:
Pavel
2024-11-21 08:54:46 -06:00
committed by GitHub
parent 980ef58fdd
commit 8b67958f49
+2 -2
View File
@@ -15,7 +15,7 @@ class User extends Authenticatable
/**
* The attributes that are mass assignable.
*
* @var array<int, string>
* @var list<string>
*/
protected $fillable = [
'name',
@@ -26,7 +26,7 @@ class User extends Authenticatable
/**
* The attributes that should be hidden for serialization.
*
* @var array<int, string>
* @var list<string>
*/
protected $hidden = [
'password',