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 | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 1 |
1 | <?php |
||
7 | class TestModel extends \Illuminate\Database\Eloquent\Model |
||
8 | { |
||
9 | use CrudTrait; |
||
|
|||
10 | |||
11 | protected $casts = [ |
||
12 | 'arrayCast' => 'array', |
||
13 | 'jsonCast' => 'json', |
||
14 | 'dateCast' => 'date', |
||
15 | 'booleanCast' => 'boolean', |
||
16 | 'datetimeCast' => 'datetime', |
||
17 | 'numberCast' => 'timestamp', |
||
18 | ]; |
||
19 | |||
20 | protected $dates = [ |
||
21 | 'someDate', |
||
22 | ]; |
||
23 | |||
24 | public function buttonModelFunction() |
||
27 | } |
||
28 | |||
29 | public function article() |
||
34 |