@@ -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 |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | |
12 | 12 | public function hasUrlEncodedData(): bool |
13 | 13 | { |
14 | - return ! empty($this->urlEncodedData); |
|
14 | + return !empty($this->urlEncodedData); |
|
15 | 15 | } |
16 | 16 | |
17 | 17 | public function getUrlEncodedData(): array |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | |
29 | 29 | public function hasServerCookies(): bool |
30 | 30 | { |
31 | - return ! empty($this->serverCookies); |
|
31 | + return !empty($this->serverCookies); |
|
32 | 32 | } |
33 | 33 | |
34 | 34 | public function getServerCookies(): array |