Passed
Pull Request — master (#51)
by Darío
05:26 queued 02:41
created
src/GuzzleResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
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()
Please login to merge, or discard this patch.
src/GuzzleAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/GuzzleRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 
11 11
     public function hasUrlEncodedData(): bool
12 12
     {
13
-        return ! empty($this->urlEncodedData);
13
+        return !empty($this->urlEncodedData);
14 14
     }
15 15
 
16 16
     public function getUrlEncodedData(): array
Please login to merge, or discard this patch.