Passed
Pull Request — master (#115)
by Daniel
41:55 queued 26:56
created
src/Responses/Events/RetrieveResponse.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,8 @@
 block discarded – undo
53 53
 
54 54
         // location
55 55
         $locationId = $attributes['relationships']['location']['data']['id'];
56
-        $location = array_reduce($included, function ($data, $includedData) use ($locationId) {
57
-            if($locationId === $includedData['id']) {
56
+        $location = array_reduce($included, function($data, $includedData) use ($locationId) {
57
+            if ($locationId === $includedData['id']) {
58 58
                 return  LocationsRetrieveResponse::from($includedData);
59 59
             }
60 60
             return $data;
Please login to merge, or discard this patch.