Passed
Push — master ( 4db6e9...0ca70c )
by Jeroen
03:21
created
src/Client.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
         $stack = HandlerStack::create();
36 36
 
37 37
         $stack->push(Middleware::mapRequest(
38
-            function (RequestInterface $request) use ($apikey) {
38
+            function(RequestInterface $request) use ($apikey) {
39 39
                 return $request->withUri(
40 40
                     Uri::withQueryValue(
41 41
                         $request->getUri(), 'apikey', $apikey
@@ -45,10 +45,10 @@  discard block
 block discarded – undo
45 45
         ), 'apikey');
46 46
 
47 47
         $stack->push(Middleware::mapResponse(
48
-            function (ResponseInterface $response) {
48
+            function(ResponseInterface $response) {
49 49
                 $body = json_decode((string)$response->getBody(), true);
50 50
 
51
-                if (! $body['success']) {
51
+                if ( ! $body['success']) {
52 52
                     throw new ElasticEmailException($body['error']);
53 53
                 }
54 54
 
Please login to merge, or discard this patch.
src/Email/Send.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 
34 34
     protected function transform(array $params, $muiltipartOption)
35 35
     {
36
-        if (! $muiltipartOption) {
36
+        if ( ! $muiltipartOption) {
37 37
             return ['form_params' => $params];
38 38
         }
39 39
 
Please login to merge, or discard this patch.
src/Response.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     public function getBody()
45 45
     {
46 46
         if (null === $this->body) {
47
-            $this->body = json_decode((string) $this->response->getBody());
47
+            $this->body = json_decode((string)$this->response->getBody());
48 48
         }
49 49
         return $this->body;
50 50
     }
Please login to merge, or discard this patch.