@@ -35,7 +35,7 @@ |
||
| 35 | 35 | $response = $this->toString(); |
| 36 | 36 | $data = json_decode($response, true); |
| 37 | 37 | |
| 38 | - if (! $data) { |
|
| 38 | + if (!$data) { |
|
| 39 | 39 | throw new ImpossibleToParseJsonException( |
| 40 | 40 | 'Service response could not be parsed to JSON, Response: ' . |
| 41 | 41 | $response . ', Reason: ' . json_last_error() |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | } catch (ConnectException $exception) { |
| 33 | 33 | throw new HttpConnectionException($exception->getMessage(), (int) $exception->getCode(), $exception); |
| 34 | 34 | } catch (RequestException $exception) { |
| 35 | - if (! $exception->hasResponse()) { |
|
| 35 | + if (!$exception->hasResponse()) { |
|
| 36 | 36 | throw new HttpClientException($exception->getMessage(), (int) $exception->getCode(), $exception); |
| 37 | 37 | } |
| 38 | 38 | |