Test Failed
Branch master (d80a5c)
by
unknown
05:06
created
src/helpers.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,6 +3,6 @@
 block discarded – undo
3 3
  * @author  Rizart Dokollari <[email protected]>
4 4
  * @since   12/24/17
5 5
  */
6
-function dd($variable){
7
-    var_dump($variable);exit;
6
+function dd($variable) {
7
+    var_dump($variable); exit;
8 8
 }
9 9
\ No newline at end of file
Please login to merge, or discard this patch.
src/ElasticEmail/ClientHelpers.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/ElasticEmail/Email/Send.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
 
36 36
     protected function transform(array $params, $muiltipartOption)
37 37
     {
38
-        if ( ! $muiltipartOption) {
38
+        if (!$muiltipartOption) {
39 39
             return ['form_params' => $params];
40 40
         }
41 41
 
Please login to merge, or discard this patch.
src/ElasticEmail/Client.php 1 patch
Spacing   +4 added lines, -4 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,11 +47,11 @@  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
-                $body = json_decode((string)$response->getBody(), true);
52
+                $body = json_decode((string) $response->getBody(), true);
53 53
 
54
-                if ( ! $body['success']) {
54
+                if (!$body['success']) {
55 55
                     throw new ElasticEmailException($body['error']);
56 56
                 }
57 57
 
Please login to merge, or discard this patch.