We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class Address extends Model |
||
| 9 | { |
||
| 10 | use CrudTrait; |
||
|
|
|||
| 11 | |||
| 12 | protected $table = 'addresses'; |
||
| 13 | protected $fillable = ['city', 'street', 'number']; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Get the author for the article. |
||
| 17 | */ |
||
| 18 | public function accountDetails() |
||
| 19 | { |
||
| 20 | return $this->belongsTo('Backpack\CRUD\Tests\config\Models\AccountDetails', 'account_details_id'); |
||
| 21 | } |
||
| 22 | |||
| 23 | public function bang() |
||
| 26 | } |
||
| 27 | } |
||
| 28 |