@@ -15,7 +15,7 @@ |
||
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 | } |
@@ -15,7 +15,7 @@ |
||
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 | } |
@@ -15,7 +15,7 @@ |
||
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 | } |
@@ -15,7 +15,7 @@ |
||
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 | } |
@@ -15,7 +15,7 @@ |
||
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 | } |
@@ -15,7 +15,7 @@ |
||
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 | } |
@@ -15,7 +15,7 @@ |
||
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 | } |
@@ -29,7 +29,7 @@ discard block |
||
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 |
||
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 { |
@@ -15,7 +15,7 @@ |
||
15 | 15 | */ |
16 | 16 | public function __construct($variables) |
17 | 17 | { |
18 | - parent::__construct(array_map(function ($variable) { |
|
18 | + parent::__construct(array_map(function($variable) { |
|
19 | 19 | return new VariableResponse($variable); |
20 | 20 | }, $variables), self::ARRAY_AS_PROPS); |
21 | 21 | } |