Completed
Pull Request — master (#34)
by Adam
09:18
created
src/Response/LogsResponse.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($logs)
17 17
     {
18
-        parent::__construct(array_map(function ($log) {
18
+        parent::__construct(array_map(function($log) {
19 19
             return new LogResponse($log);
20 20
         }, $logs), 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
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     // custom string representation of object
20 20
     public function __toString()
21 21
     {
22
-        return __CLASS__ . ": [{$this->code}]: {$this->message}\n";
22
+        return __CLASS__.": [{$this->code}]: {$this->message}\n";
23 23
     }
24 24
 
25 25
     public function setError($object)
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
         if (is_array($object->message) || is_object($object->message)) {
28 28
             $output = '';
29 29
             foreach ($object->message as $message) {
30
-                $output .= $message . PHP_EOL;
30
+                $output .= $message.PHP_EOL;
31 31
             }
32 32
             $this->message = $output;
33 33
         } else {
Please login to merge, or discard this patch.
src/Response/TagsResponse.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($tags)
17 17
     {
18
-        parent::__construct(array_map(function ($tag) {
18
+        parent::__construct(array_map(function($tag) {
19 19
             return new TagResponse($tag);
20 20
         }, $tags), self::ARRAY_AS_PROPS);
21 21
     }
Please login to merge, or discard this patch.
src/Response/InsightModulesResponse.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($modules)
17 17
     {
18
-        parent::__construct(array_map(function ($module) {
18
+        parent::__construct(array_map(function($module) {
19 19
             return new InsightModuleResponse($module);
20 20
         }, $modules), self::ARRAY_AS_PROPS);
21 21
     }
Please login to merge, or discard this patch.
src/Response/MetricsResponse.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($metrics)
17 17
     {
18
-        parent::__construct(array_map(function ($metric) {
18
+        parent::__construct(array_map(function($metric) {
19 19
             return new MetricResponse($metric);
20 20
         }, $metrics), self::ARRAY_AS_PROPS);
21 21
     }
Please login to merge, or discard this patch.
src/Response/IdentityProvidersResponse.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($idps)
17 17
     {
18
-        parent::__construct(array_map(function ($idp) {
18
+        parent::__construct(array_map(function($idp) {
19 19
             return new IdentityProviderResponse($idp);
20 20
         }, $idps), self::ARRAY_AS_PROPS);
21 21
     }
Please login to merge, or discard this patch.
src/Response/InsightAlertsResponse.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($alerts)
17 17
     {
18
-        parent::__construct(array_map(function ($alert) {
18
+        parent::__construct(array_map(function($alert) {
19 19
             return new InsightAlertResponse($alert);
20 20
         }, $alerts), self::ARRAY_AS_PROPS);
21 21
     }
Please login to merge, or discard this patch.
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.