Test Failed
Branch main (8da1cd)
by Rizart
10:28
created
Category
src/Response.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 
25 25
     public function getBody()
26 26
     {
27
-        return json_decode((string)$this->response->getBody());
27
+        return json_decode((string) $this->response->getBody());
28 28
     }
29 29
 
30 30
     public function wasSuccessful()
Please login to merge, or discard this patch.
src/Client.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 
37 37
         $stack->push(
38 38
             Middleware::mapRequest(
39
-                function (RequestInterface $request) use ($apikey) {
39
+                function(RequestInterface $request) use ($apikey) {
40 40
                     return $request->withUri(
41 41
                         Uri::withQueryValue(
42 42
                             $request->getUri(), 'apikey', $apikey
@@ -47,10 +47,10 @@  discard block
 block discarded – undo
47 47
         );
48 48
 
49 49
         $stack->push(Middleware::mapResponse(
50
-            function (ResponseInterface $response) {
50
+            function(ResponseInterface $response) {
51 51
 
52 52
                 try {
53
-                    $body = json_decode((string)$response->getBody(), true);
53
+                    $body = json_decode((string) $response->getBody(), true);
54 54
                 } catch (\Exception $error) {
55 55
                     throw new ElasticEmailException('Unable to decode JSON response.');
56 56
                 }
Please login to merge, or discard this patch.