@@ -161,7 +161,7 @@ discard block |
||
| 161 | 161 | { |
| 162 | 162 | $tenantCode = substr($themeName, strpos($themeName, '@') + 1); |
| 163 | 163 | |
| 164 | - return array_map(function ($parentName) use ($themeName, $existingThemes, $tenantCode) { |
|
| 164 | + return array_map(function($parentName) use ($themeName, $existingThemes, $tenantCode) { |
|
| 165 | 165 | $parentName .= '@'.$tenantCode; |
| 166 | 166 | if (!isset($existingThemes[$parentName])) { |
| 167 | 167 | throw new ThemeLoadingFailedException(sprintf( |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | */ |
| 183 | 183 | private function convertAuthorsArraysToAuthorsObjects(array $authorsArrays) |
| 184 | 184 | { |
| 185 | - return array_map(function (array $authorArray) { |
|
| 185 | + return array_map(function(array $authorArray) { |
|
| 186 | 186 | return $this->themeAuthorFactory->createFromArray($authorArray); |
| 187 | 187 | }, $authorsArrays); |
| 188 | 188 | } |
@@ -194,7 +194,7 @@ discard block |
||
| 194 | 194 | */ |
| 195 | 195 | private function convertScreenshotsArraysToScreenshotsObjects(array $screenshotsArrays) |
| 196 | 196 | { |
| 197 | - return array_map(function (array $screenshotArray) { |
|
| 197 | + return array_map(function(array $screenshotArray) { |
|
| 198 | 198 | return $this->themeScreenshotFactory->createFromArray($screenshotArray); |
| 199 | 199 | }, $screenshotsArrays); |
| 200 | 200 | } |