@@ -83,7 +83,7 @@ |
||
83 | 83 | $responseObjects = isset($responseDecoded['results']) ? $responseDecoded['results'] : $responseDecoded; |
84 | 84 | $responseObjects = array_map( |
85 | 85 | |
86 | - function ($item) use ($targetEntity) |
|
86 | + function($item) use ($targetEntity) |
|
87 | 87 | { |
88 | 88 | $item = $this->_convertNaming($item); |
89 | 89 | return $this->serializer->deserialize(json_encode($item), $targetEntity, 'json'); |
@@ -131,7 +131,7 @@ |
||
131 | 131 | ]); |
132 | 132 | |
133 | 133 | /** @var PaginatedResults $results */ |
134 | - $results = $comrade->decodeMultiple(SimpleTestEntity::class); |
|
134 | + $results = $comrade->decodeMultiple(SimpleTestEntity::class); |
|
135 | 135 | |
136 | 136 | $this->assertInstanceOf( |
137 | 137 | PaginatedResults::class, |
@@ -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 | } |