We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -42,11 +42,11 @@ discard block |
||
| 42 | 42 | { |
| 43 | 43 | $this->crud->allowAccess('create'); |
| 44 | 44 | |
| 45 | - LifecycleHook::hookInto('create:before_setup', function () { |
|
| 45 | + LifecycleHook::hookInto('create:before_setup', function() { |
|
| 46 | 46 | $this->crud->setupDefaultSaveActions(); |
| 47 | 47 | }); |
| 48 | 48 | |
| 49 | - LifecycleHook::hookInto('list:before_setup', function () { |
|
| 49 | + LifecycleHook::hookInto('list:before_setup', function() { |
|
| 50 | 50 | $this->crud->addButton('top', 'create', 'view', 'crud::buttons.create'); |
| 51 | 51 | }); |
| 52 | 52 | } |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | $this->crud->hasAccessOrFail('create'); |
| 75 | 75 | |
| 76 | 76 | // if the request isn't an AJAX request, return a 404 |
| 77 | - if (! request()->ajax()) { |
|
| 77 | + if (!request()->ajax()) { |
|
| 78 | 78 | abort(404); |
| 79 | 79 | } |
| 80 | 80 | |