Passed
Pull Request — master (#34)
by Adam
03:39
created
src/Response/IdesResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      */
16 16
     public function __construct($ides)
17 17
     {
18
-        parent::__construct(array_map(function ($ide) {
18
+        parent::__construct(array_map(function($ide) {
19 19
             return new IdeResponse($ide);
20 20
         }, $ides), self::ARRAY_AS_PROPS);
21 21
     }
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
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      */
30 30
     public function __toString()
31 31
     {
32
-        return __CLASS__ . ": [{$this->code}]: {$this->message}\n";
32
+        return __CLASS__.": [{$this->code}]: {$this->message}\n";
33 33
     }
34 34
 
35 35
     /**
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
         if (is_array($object->message) || is_object($object->message)) {
43 43
             $output = '';
44 44
             foreach ($object->message as $message) {
45
-                $output .= $message . PHP_EOL;
45
+                $output .= $message.PHP_EOL;
46 46
             }
47 47
             $this->message = $output;
48 48
         } else {
Please login to merge, or discard this patch.