Test Setup Failed
Push — master ( 9dd49e...c3caa7 )
by Tom
02:21
created
src/AbstractRestfulController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
     {
211 211
         $model = $this->newModelInstance();
212 212
 
213
-        foreach ((array)$request->input() as $column => $value) {
213
+        foreach ((array) $request->input() as $column => $value) {
214 214
             $model->$column = $value;
215 215
         }
216 216
 
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
             return $model;
304 304
         }
305 305
 
306
-        $parts = array_filter(explode('/', (string)$request->route()->parameter('extra')));
306
+        $parts = array_filter(explode('/', (string) $request->route()->parameter('extra')));
307 307
 
308 308
         // Loop through the parts.
309 309
         foreach ($parts as $part) {
@@ -346,7 +346,7 @@  discard block
 block discarded – undo
346 346
     {
347 347
         $model = $this->findModel($id);
348 348
 
349
-        foreach ((array)$request->input() as $column => $value) {
349
+        foreach ((array) $request->input() as $column => $value) {
350 350
             $model->$column = $value;
351 351
         }
352 352
 
Please login to merge, or discard this patch.