Passed
Push — master ( e70f10...ade845 )
by Tom
03:25 queued 01:11
created
src/AbstractRestfulController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
     {
70 70
         $builder = $this->createModelQueryBuilder();
71 71
 
72
-        foreach ((array)$request->input() as $column => $value) {
72
+        foreach ((array) $request->input() as $column => $value) {
73 73
             $this->filterValue($builder, $column, $value);
74 74
         }
75 75
 
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     {
88 88
         $model = $this->newModelInstance();
89 89
 
90
-        foreach ((array)$request->input() as $column => $value) {
90
+        foreach ((array) $request->input() as $column => $value) {
91 91
             $model->$column = $value;
92 92
         }
93 93
 
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
     {
121 121
         $model = $this->findModel($id);
122 122
 
123
-        foreach ((array)$request->input() as $column => $value) {
123
+        foreach ((array) $request->input() as $column => $value) {
124 124
             $model->$column = $value;
125 125
         }
126 126
 
Please login to merge, or discard this patch.