We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Total Complexity | 1 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class Comment extends Model |
||
9 | { |
||
10 | use CrudTrait; |
||
|
|||
11 | |||
12 | /* |
||
13 | |-------------------------------------------------------------------------- |
||
14 | | GLOBAL VARIABLES |
||
15 | |-------------------------------------------------------------------------- |
||
16 | */ |
||
17 | |||
18 | protected $table = 'comments'; |
||
19 | protected $primaryKey = 'id'; |
||
20 | public $timestamps = true; |
||
21 | protected $guarded = ['id']; |
||
22 | // protected $hidden = []; |
||
23 | // protected $dates = []; |
||
24 | |||
25 | /* |
||
26 | |-------------------------------------------------------------------------- |
||
27 | | FUNCTIONS |
||
28 | |-------------------------------------------------------------------------- |
||
29 | */ |
||
30 | |||
31 | /* |
||
32 | |-------------------------------------------------------------------------- |
||
33 | | RELATIONS |
||
34 | |-------------------------------------------------------------------------- |
||
35 | */ |
||
36 | |||
37 | public function commentable() |
||
60 |