We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -29,11 +29,11 @@ discard block |
||
29 | 29 | { |
30 | 30 | $this->crud->allowAccess('createDummy'); |
31 | 31 | |
32 | - $this->crud->operation('createDummy', function () { |
|
32 | + $this->crud->operation('createDummy', function() { |
|
33 | 33 | $this->crud->loadDefaultOperationSettingsFromConfig(); |
34 | 34 | }); |
35 | 35 | |
36 | - $this->crud->operation('list', function () { |
|
36 | + $this->crud->operation('list', function() { |
|
37 | 37 | if (method_exists($this->crud->getModel(), 'factory')) { |
38 | 38 | $this->crud->addButton('top', 'create_dummy', 'view', 'crud::buttons.create_dummy'); |
39 | 39 | } |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | $this->crud->hasAccessOrFail('createDummy'); |
52 | 52 | |
53 | 53 | // Check if Model has Factory trait |
54 | - if (! method_exists($this->crud->getModel(), 'factory')) { |
|
54 | + if (!method_exists($this->crud->getModel(), 'factory')) { |
|
55 | 55 | return response()->json([ |
56 | 56 | 'title' => trans('backpack::crud.create_dummy_error_title'), |
57 | 57 | 'message' => trans('backpack::crud.create_dummy_error_message'), |