We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
1 | <?php |
||
8 | class Menu extends Model |
||
9 | { |
||
10 | use CrudTrait; |
||
11 | |||
12 | /* |
||
13 | |-------------------------------------------------------------------------- |
||
14 | | GLOBAL VARIABLES |
||
15 | |-------------------------------------------------------------------------- |
||
16 | */ |
||
17 | |||
18 | protected $table = 'menus'; |
||
19 | // protected $primaryKey = 'id'; |
||
20 | // public $timestamps = false; |
||
21 | protected $guarded = ['id']; |
||
22 | // protected $fillable = []; |
||
23 | // protected $hidden = []; |
||
24 | // protected $dates = []; |
||
25 | |||
26 | /* |
||
27 | |-------------------------------------------------------------------------- |
||
28 | | FUNCTIONS |
||
29 | |-------------------------------------------------------------------------- |
||
30 | */ |
||
31 | |||
32 | public static function boot() |
||
44 | |||
45 | /** |
||
46 | * Get all menu items, in a hierarchical collection. |
||
47 | * Supports infinite levels of indentation. |
||
48 | */ |
||
49 | public static function getTree($placement) |
||
76 | |||
77 | public function customActions($crud = false) |
||
82 | |||
83 | /* |
||
84 | |-------------------------------------------------------------------------- |
||
85 | | RELATIONS |
||
86 | |-------------------------------------------------------------------------- |
||
87 | */ |
||
88 | |||
89 | /* |
||
90 | |-------------------------------------------------------------------------- |
||
91 | | SCOPES |
||
92 | |-------------------------------------------------------------------------- |
||
93 | */ |
||
94 | |||
95 | /* |
||
96 | |-------------------------------------------------------------------------- |
||
97 | | ACCESSORS |
||
98 | |-------------------------------------------------------------------------- |
||
99 | */ |
||
100 | |||
101 | /* |
||
102 | |-------------------------------------------------------------------------- |
||
103 | | MUTATORS |
||
104 | |-------------------------------------------------------------------------- |
||
105 | */ |
||
106 | } |
||
107 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.