Completed
Push — master ( bfc999...e57870 )
by Stefano
15s queued 11s
created
src/Controller/ApiProxyTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
         }
182 182
         $this->response = $this->response->withStatus($status);
183 183
         $errorData = [
184
-            'status' => (string)$status,
184
+            'status' => (string) $status,
185 185
             'title' => $error->getMessage(),
186 186
         ];
187 187
         $this->set('error', $errorData);
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
             $response = $this->maskMultiLinks($response, 'meta.resources', 'href');
214 214
         }
215 215
 
216
-        $data = (array)Hash::get($response, 'data');
216
+        $data = (array) Hash::get($response, 'data');
217 217
         if (empty($data)) {
218 218
             return $response;
219 219
         }
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
             $response['data'] = $this->maskMultiLinks($data);
229 229
         }
230 230
 
231
-        return (array)$response;
231
+        return (array) $response;
232 232
     }
233 233
 
234 234
     /**
Please login to merge, or discard this patch.