@@ -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 | } |
@@ -111,7 +111,7 @@ |
||
| 111 | 111 | // $this->logger = new Logger('inShore Bookwhen API'); |
| 112 | 112 | // $this->logger->pushHandler(new StreamHandler($this->logFile, $this->logLevel)); |
| 113 | 113 | try { |
| 114 | - if(!is_null($client)) { |
|
| 114 | + if (!is_null($client)) { |
|
| 115 | 115 | $this->client = $client; |
| 116 | 116 | } else { |
| 117 | 117 | $this->client = !is_null($apiKey) |