We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
1 | <?php |
||
14 | class MenuCrudController extends CrudController |
||
15 | { |
||
16 | use \Backpack\CRUD\app\Http\Controllers\Operations\ListOperation; |
||
17 | use \Backpack\CRUD\app\Http\Controllers\Operations\CreateOperation; |
||
18 | use \Backpack\CRUD\app\Http\Controllers\Operations\UpdateOperation; |
||
19 | use \Backpack\CRUD\app\Http\Controllers\Operations\DeleteOperation; |
||
20 | use \Backpack\CRUD\app\Http\Controllers\Operations\ShowOperation; |
||
21 | |||
22 | /** |
||
23 | * Configure the CrudPanel object. Apply settings to all operations. |
||
24 | * |
||
25 | * @return void |
||
26 | */ |
||
27 | public function setup() |
||
33 | |||
34 | /** |
||
35 | * Define what happens when the List operation is loaded. |
||
36 | * |
||
37 | * @see https://backpackforlaravel.com/docs/crud-operation-list-entries |
||
38 | * @return void |
||
39 | */ |
||
40 | protected function setupListOperation() |
||
50 | |||
51 | protected function setupShowOperation() |
||
56 | |||
57 | /** |
||
58 | * Define what happens when the Create operation is loaded. |
||
59 | * |
||
60 | * @see https://backpackforlaravel.com/docs/crud-operation-create |
||
61 | * @return void |
||
62 | */ |
||
63 | protected function setupCreateOperation() |
||
75 | |||
76 | /** |
||
77 | * Define what happens when the Update operation is loaded. |
||
78 | * |
||
79 | * @see https://backpackforlaravel.com/docs/crud-operation-update |
||
80 | * @return void |
||
81 | */ |
||
82 | protected function setupUpdateOperation() |
||
86 | |||
87 | private function setupColumns($isShowing = false) |
||
103 | |||
104 | private function setupFields() |
||
120 | } |
||
121 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.