@@ -69,7 +69,7 @@ |
||
69 | 69 | |
70 | 70 | return $this->provider->getAuthenticatedRequest( |
71 | 71 | $verb, |
72 | - self::BASE_URI . $path, |
|
72 | + self::BASE_URI.$path, |
|
73 | 73 | $this->accessToken |
74 | 74 | ); |
75 | 75 | } |
@@ -15,7 +15,7 @@ |
||
15 | 15 | */ |
16 | 16 | public function __construct($destinations) |
17 | 17 | { |
18 | - parent::__construct(array_map(function ($destination) { |
|
18 | + parent::__construct(array_map(function($destination) { |
|
19 | 19 | return new LogForwardingDestinationResponse($destination); |
20 | 20 | }, $destinations), self::ARRAY_AS_PROPS); |
21 | 21 | } |
@@ -14,7 +14,7 @@ |
||
14 | 14 | */ |
15 | 15 | public function __construct($notifications) |
16 | 16 | { |
17 | - parent::__construct(array_map(function ($notification) { |
|
17 | + parent::__construct(array_map(function($notification) { |
|
18 | 18 | return new NotificationResponse($notification); |
19 | 19 | }, $notifications), self::ARRAY_AS_PROPS); |
20 | 20 | } |
@@ -49,7 +49,7 @@ |
||
49 | 49 | * @param string $branch |
50 | 50 | * @return OperationResponse |
51 | 51 | */ |
52 | - public function switch($environmentUuid, $branch) |
|
52 | + public function switch ($environmentUuid, $branch) |
|
53 | 53 | { |
54 | 54 | |
55 | 55 | $options = [ |
@@ -15,7 +15,7 @@ |
||
15 | 15 | */ |
16 | 16 | public function __construct($certificates) |
17 | 17 | { |
18 | - parent::__construct(array_map(function ($certificate) { |
|
18 | + parent::__construct(array_map(function($certificate) { |
|
19 | 19 | return new SslCertificateResponse($certificate); |
20 | 20 | }, $certificates), self::ARRAY_AS_PROPS); |
21 | 21 | } |
@@ -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 | } |
@@ -19,7 +19,7 @@ discard block |
||
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 |
||
27 | 27 | if (is_array($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 { |