@@ -8,33 +8,33 @@ |
||
| 8 | 8 | |
| 9 | 9 | class User extends Authenticatable |
| 10 | 10 | { |
| 11 | - use Notifiable; |
|
| 12 | - use HasRoles; |
|
| 11 | + use Notifiable; |
|
| 12 | + use HasRoles; |
|
| 13 | 13 | |
| 14 | - /** |
|
| 15 | - * The attributes that are mass assignable. |
|
| 16 | - * |
|
| 17 | - * @var array |
|
| 18 | - */ |
|
| 19 | - protected $fillable = [ |
|
| 20 | - 'name', 'email', 'password', |
|
| 21 | - ]; |
|
| 14 | + /** |
|
| 15 | + * The attributes that are mass assignable. |
|
| 16 | + * |
|
| 17 | + * @var array |
|
| 18 | + */ |
|
| 19 | + protected $fillable = [ |
|
| 20 | + 'name', 'email', 'password', |
|
| 21 | + ]; |
|
| 22 | 22 | |
| 23 | - /** |
|
| 24 | - * The attributes that should be hidden for arrays. |
|
| 25 | - * |
|
| 26 | - * @var array |
|
| 27 | - */ |
|
| 28 | - protected $hidden = [ |
|
| 29 | - 'password', 'remember_token', |
|
| 30 | - ]; |
|
| 23 | + /** |
|
| 24 | + * The attributes that should be hidden for arrays. |
|
| 25 | + * |
|
| 26 | + * @var array |
|
| 27 | + */ |
|
| 28 | + protected $hidden = [ |
|
| 29 | + 'password', 'remember_token', |
|
| 30 | + ]; |
|
| 31 | 31 | |
| 32 | - /** |
|
| 33 | - * The attributes that should be cast to native types. |
|
| 34 | - * |
|
| 35 | - * @var array |
|
| 36 | - */ |
|
| 37 | - protected $casts = [ |
|
| 38 | - 'email_verified_at' => 'datetime', |
|
| 39 | - ]; |
|
| 32 | + /** |
|
| 33 | + * The attributes that should be cast to native types. |
|
| 34 | + * |
|
| 35 | + * @var array |
|
| 36 | + */ |
|
| 37 | + protected $casts = [ |
|
| 38 | + 'email_verified_at' => 'datetime', |
|
| 39 | + ]; |
|
| 40 | 40 | } |