| Total Complexity | 0 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class User extends Authenticatable |
||
| 16 | { |
||
| 17 | use Notifiable; |
||
|
|
|||
| 18 | |||
| 19 | /** |
||
| 20 | * The attributes that are mass assignable. |
||
| 21 | * |
||
| 22 | * @var array |
||
| 23 | */ |
||
| 24 | protected $fillable = [ |
||
| 25 | 'name', |
||
| 26 | 'github_username', 'github_id', |
||
| 27 | 'github_token', 'github_avatar' |
||
| 28 | ]; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * The attributes that should be hidden for arrays. |
||
| 32 | * |
||
| 33 | * @var array |
||
| 34 | */ |
||
| 35 | protected $hidden = [ |
||
| 36 | 'password', 'remember_token', |
||
| 37 | ]; |
||
| 39 |