@@ -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 | } |
@@ -31,7 +31,7 @@ discard block |
||
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 |
||
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 { |
@@ -71,7 +71,7 @@ |
||
71 | 71 | |
72 | 72 | $this->request = $this->provider->getAuthenticatedRequest( |
73 | 73 | $verb, |
74 | - self::BASE_URI . $path, |
|
74 | + self::BASE_URI.$path, |
|
75 | 75 | $this->accessToken |
76 | 76 | ); |
77 | 77 | } |