Passed
Push — master ( 23764c...420f5e )
by Mario
02:38
created
tests/BaseTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
             [
22 22
             'middleware' => [],
23 23
             'namespace'  => 'RafflesArgentina\ResourceController',
24
-            ], function ($router) {
24
+            ], function($router) {
25 25
                 $router->resource('test', 'TestController');
26 26
                 $router->resource('test2', 'TestUseSoftDeletesController');
27 27
             }
Please login to merge, or discard this patch.
src/Traits/WorksWithRelations.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -131,14 +131,14 @@
 block discarded – undo
131 131
                 $id = $fields['id'];
132 132
             } else {
133 133
                 $id = '';
134
-	    }
134
+        }
135 135
 
136 136
             if (array_except($fields, ['id'])) {
137 137
                 $record = $relation->updateOrCreate(['id' => $id], $fields);
138 138
                 array_push($keys, $record->id);
139 139
                 array_push($records, $record);
140
-	    }
141
-	}
140
+        }
141
+    }
142 142
     
143 143
         if ($keys && (property_exists($this, 'pruneHasMany') && $this->pruneHasMany !== false)) {
144 144
             $notIn = $relation->getRelated()->whereNotIn('id', $keys)->get();
Please login to merge, or discard this patch.