@@ -265,8 +265,8 @@ discard block |
||
265 | 265 | } catch (GuzzleRequestException $e) { |
266 | 266 | |
267 | 267 | if ($e->getResponse() === null) { |
268 | - throw $e; |
|
269 | - } |
|
268 | + throw $e; |
|
269 | + } |
|
270 | 270 | |
271 | 271 | //If its an auth error convert to an auth exception |
272 | 272 | if ($e->getResponse()->getStatusCode() == 401) { |
@@ -284,8 +284,8 @@ discard block |
||
284 | 284 | private function getAuthHeader() |
285 | 285 | { |
286 | 286 | if ($this->accessToken === null) { |
287 | - throw new AuthenticationException(0, "Access token not set"); |
|
288 | - } |
|
287 | + throw new AuthenticationException(0, "Access token not set"); |
|
288 | + } |
|
289 | 289 | |
290 | 290 | return 'Bearer ' . $this->accessToken->getAccessToken(); |
291 | 291 | } |