Merge pull request #4930 from epalmans/master
Attribute casting for 'email_verified_at' on User model stub (with explanation)
This commit is contained in:
commit
3702622461
|
@ -27,4 +27,13 @@ class User extends Authenticatable
|
|||
protected $hidden = [
|
||||
'password', 'remember_token',
|
||||
];
|
||||
|
||||
/**
|
||||
* The attributes that should be cast to native types.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $casts = [
|
||||
'email_verified_at' => 'datetime',
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue