We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 8 | class AccountDetails extends Model |
||
| 9 | { |
||
| 10 | use CrudTrait; |
||
|
|
|||
| 11 | |||
| 12 | protected $table = 'account_details'; |
||
| 13 | protected $fillable = ['user_id', 'nickname', 'profile_picture', 'article_id']; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Get the user for the account details. |
||
| 17 | */ |
||
| 18 | public function user() |
||
| 21 | } |
||
| 22 | |||
| 23 | public function addresses() |
||
| 26 | } |
||
| 27 | |||
| 28 | public function article() |
||
| 29 | { |
||
| 30 | return $this->belongsTo('Backpack\CRUD\Tests\Unit\Models\Article'); |
||
| 31 | } |
||
| 32 | |||
| 33 | public function getNicknameComposedAttribute() |
||
| 36 | } |
||
| 37 | } |
||
| 38 |