Passed
Pull Request — master (#39)
by Adam
02:20
created
src/Connector/Client.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
         try {
68 68
             return $this->processResponse($response);
69 69
         } catch (ApiErrorException $e) {
70
-            exit($e->getErrorType() . ' error: ' .  $e->getMessage());
70
+            exit($e->getErrorType().' error: '.$e->getMessage());
71 71
         }
72 72
     }
73 73
 
Please login to merge, or discard this patch.
src/Exception/ApiErrorException.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      */
32 32
     public function __toString()
33 33
     {
34
-        return __CLASS__ . ": [{$this->errorType}]: {$this->message}\n";
34
+        return __CLASS__.": [{$this->errorType}]: {$this->message}\n";
35 35
     }
36 36
 
37 37
     /**
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
         if (is_array($object->message) || is_object($object->message)) {
46 46
             $output = '';
47 47
             foreach ($object->message as $message) {
48
-                $output .= $message . PHP_EOL;
48
+                $output .= $message.PHP_EOL;
49 49
             }
50 50
             $this->message = $output;
51 51
         } else {
Please login to merge, or discard this patch.