@@ -15,7 +15,7 @@ |
||
| 15 | 15 | |
| 16 | 16 | public function register() |
| 17 | 17 | { |
| 18 | - $this->app->bind('laravel-toggle-switch-fields', function () { |
|
| 18 | + $this->app->bind('laravel-toggle-switch-fields', function() { |
|
| 19 | 19 | return new ToggleSwitchFields(); |
| 20 | 20 | }); |
| 21 | 21 | |
@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | */ |
| 21 | 21 | public function switchOn($entity, $fieldName) |
| 22 | 22 | { |
| 23 | - if (! in_array($fieldName, $this->switchableFields())) { |
|
| 23 | + if (!in_array($fieldName, $this->switchableFields())) { |
|
| 24 | 24 | abort(404); |
| 25 | 25 | } |
| 26 | 26 | |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | */ |
| 41 | 41 | public function switchOff($entity, $fieldName) |
| 42 | 42 | { |
| 43 | - if (! in_array($fieldName, $this->switchableFields())) { |
|
| 43 | + if (!in_array($fieldName, $this->switchableFields())) { |
|
| 44 | 44 | abort(404); |
| 45 | 45 | } |
| 46 | 46 | |