@@ -161,7 +161,7 @@ discard block |
||
| 161 | 161 | } |
| 162 | 162 | } |
| 163 | 163 | |
| 164 | - $availableRegions = implode(', ', array_map(function ($endpoint) { |
|
| 164 | + $availableRegions = implode(', ', array_map(function($endpoint) { |
|
| 165 | 165 | return $endpoint->region; |
| 166 | 166 | }, $endPoints)); |
| 167 | 167 | |
@@ -169,9 +169,9 @@ discard block |
||
| 169 | 169 | } |
| 170 | 170 | |
| 171 | 171 | private function getAvailableServiceNames(Catalog $catalog) { |
| 172 | - return array_map(function (CatalogItem $item) { |
|
| 172 | + return array_map(function(CatalogItem $item) { |
|
| 173 | 173 | return $item->getName(); |
| 174 | - }, array_filter($catalog->getItems(), function (CatalogItem $item) { |
|
| 174 | + }, array_filter($catalog->getItems(), function(CatalogItem $item) { |
|
| 175 | 175 | return $item->hasType(Service::DEFAULT_TYPE); |
| 176 | 176 | })); |
| 177 | 177 | } |