@@ -16,7 +16,7 @@ |
||
16 | 16 | { |
17 | 17 | parent::__construct( |
18 | 18 | array_map( |
19 | - static function ($site) { |
|
19 | + static function($site) { |
|
20 | 20 | return new SiteResponse($site); |
21 | 21 | }, |
22 | 22 | $sites |
@@ -16,7 +16,7 @@ |
||
16 | 16 | { |
17 | 17 | parent::__construct( |
18 | 18 | array_map( |
19 | - static function ($environment) { |
|
19 | + static function($environment) { |
|
20 | 20 | return new CodebaseEnvironmentResponse($environment); |
21 | 21 | }, |
22 | 22 | $environments |
@@ -16,7 +16,7 @@ |
||
16 | 16 | { |
17 | 17 | parent::__construct( |
18 | 18 | array_map( |
19 | - static function ($reference) { |
|
19 | + static function($reference) { |
|
20 | 20 | return new ReferenceResponse($reference); |
21 | 21 | }, |
22 | 22 | $references |
@@ -15,7 +15,7 @@ |
||
15 | 15 | // Handle array of bulk code switches |
16 | 16 | parent::__construct( |
17 | 17 | array_map( |
18 | - static function ($item) { |
|
18 | + static function($item) { |
|
19 | 19 | return (object) $item; |
20 | 20 | }, |
21 | 21 | $bulkCodeSwitch |
@@ -143,7 +143,7 @@ |
||
143 | 143 | $path = "/codebases/$codebaseUuid/bulk-code-switch"; |
144 | 144 | |
145 | 145 | if (!empty($options)) { |
146 | - $path .= '?' . http_build_query($options); |
|
146 | + $path .= '?'.http_build_query($options); |
|
147 | 147 | } |
148 | 148 | |
149 | 149 | return new BulkCodeSwitchResponse( |