Completed
Push — master ( cc6c53...b787be )
by Alberto
15s queued 12s
created
src/Controller/ApiProxyTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
         }
180 180
         $this->response = $this->response->withStatus($status);
181 181
         $errorData = [
182
-            'status' => (string)$status,
182
+            'status' => (string) $status,
183 183
             'title' => $error->getMessage(),
184 184
         ];
185 185
         $this->set('error', $errorData);
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
             $response = $this->maskMultiLinks($response, 'meta.resources', 'href');
211 211
         }
212 212
 
213
-        $data = (array)Hash::get($response, 'data');
213
+        $data = (array) Hash::get($response, 'data');
214 214
         if (empty($data)) {
215 215
             return $response;
216 216
         }
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
             $response['data']['relationships'] = $this->maskMultiLinks($data);
226 226
         }
227 227
 
228
-        return (array)$response;
228
+        return (array) $response;
229 229
     }
230 230
 
231 231
     /**
Please login to merge, or discard this patch.