Completed
Push — master ( 4363d1...423f38 )
by Costin
06:04
created
src/ToggleSwitchFieldsServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Traits/Switchable.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.