Passed
Pull Request — master (#137)
by Daniel
12:22 queued 01:54
created
src/Responses/Events/RetrieveResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 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) {
56
+        $location = array_reduce($included, function($data, $includedData) use ($locationId) {
57 57
             if ($includedData['id'] === $locationId) {
58 58
                 return  LocationsRetrieveResponse::from($includedData);
59 59
             }
Please login to merge, or discard this patch.
tools/ClientTest.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
      * @uses InShore\Bookwhen\Exceptions\ValidationException
121 121
      */
122 122
     public function testGetEventWithValidEventId()
123
-    { 
123
+    {
124 124
         $this->mockHandler->append(new Response('200', [], file_get_contents(__DIR__ . '/fixtures/event_200.json')));
125 125
         $this->client->setGuzzleClient($this->guzzleClient);
126 126
         $event = $this->client->getEvent('ev-sf8b-20200813100000');
Please login to merge, or discard this patch.