@@ -56,7 +56,7 @@ |
||
| 56 | 56 | CacheProvider $cache) |
| 57 | 57 | { |
| 58 | 58 | $this->url = $apiUrl; |
| 59 | - $this->secretToken = $apiKey; |
|
| 59 | + $this->secretToken = $apiKey; |
|
| 60 | 60 | $this->serializer = $serializer; |
| 61 | 61 | $this->cache = $cache; |
| 62 | 62 | $this->client = new Client([ |
@@ -136,8 +136,7 @@ |
||
| 136 | 136 | $parameters |
| 137 | 137 | )->getBody()->getContents(); |
| 138 | 138 | |
| 139 | - } |
|
| 140 | - catch (ClientException $e) { |
|
| 139 | + } catch (ClientException $e) { |
|
| 141 | 140 | if ($e->getCode() === 404) { |
| 142 | 141 | throw new ResourceNotFoundException($url); |
| 143 | 142 | } |