@@ -164,8 +164,7 @@ |
||
| 164 | 164 | $this->getPreparedRequestUrl($url), |
| 165 | 165 | $parameters |
| 166 | 166 | ); |
| 167 | - } |
|
| 168 | - catch (RequestException $e) { |
|
| 167 | + } catch (RequestException $e) { |
|
| 169 | 168 | if ($e->getCode() === 404) { |
| 170 | 169 | throw new ResourceNotFoundException($url); |
| 171 | 170 | } |
@@ -142,7 +142,7 @@ |
||
| 142 | 142 | ]); |
| 143 | 143 | |
| 144 | 144 | /** @var PaginatedResults $results */ |
| 145 | - $results = $comrade->decodeIntoMultipleObjects(SimpleTestEntity::class); |
|
| 145 | + $results = $comrade->decodeIntoMultipleObjects(SimpleTestEntity::class); |
|
| 146 | 146 | |
| 147 | 147 | $this->assertInstanceOf( |
| 148 | 148 | PaginatedResults::class, |