@@ -53,7 +53,7 @@ |
||
| 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 | } |
@@ -120,7 +120,7 @@ |
||
| 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'); |