Total Complexity | 1 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class Account extends Model |
||
10 | { |
||
11 | /** |
||
12 | * The attributes that are mass assignable. |
||
13 | * |
||
14 | * @var array |
||
15 | */ |
||
16 | protected $fillable = [ |
||
17 | 'user_id', |
||
18 | 'first_name', |
||
19 | 'last_name', |
||
20 | 'biography', |
||
21 | 'signature', |
||
22 | 'facebook', |
||
23 | 'twitter' |
||
24 | ]; |
||
25 | |||
26 | /** |
||
27 | * Get the user that owns the account. |
||
28 | * |
||
29 | * @return BelongsTo |
||
30 | */ |
||
31 | public function user(): BelongsTo |
||
36 |