@@ -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 |
@@ -12,13 +12,13 @@ |
||
| 12 | 12 | /** |
| 13 | 13 | * @param array<object>|object|array<int,array<string,string>> $bulkCodeSwitch |
| 14 | 14 | */ |
| 15 | - public function __construct(array|object $bulkCodeSwitch) |
|
| 15 | + public function __construct(array | object $bulkCodeSwitch) |
|
| 16 | 16 | { |
| 17 | 17 | if (is_array($bulkCodeSwitch)) { |
| 18 | 18 | // Handle array of bulk code switches |
| 19 | 19 | parent::__construct( |
| 20 | 20 | array_map( |
| 21 | - static function ($item) { |
|
| 21 | + static function($item) { |
|
| 22 | 22 | return (object) $item; |
| 23 | 23 | }, |
| 24 | 24 | $bulkCodeSwitch |