@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | * @param string $targetDir |
113 | 113 | * @param int $symlinkMask |
114 | 114 | * |
115 | - * @return mixed |
|
115 | + * @return integer |
|
116 | 116 | */ |
117 | 117 | private function installGlobalAssets($targetDir, $symlinkMask) |
118 | 118 | { |
@@ -148,6 +148,8 @@ discard block |
||
148 | 148 | |
149 | 149 | /** |
150 | 150 | * {@inheritdoc} |
151 | + * @param string $targetDir |
|
152 | + * @param integer $symlinkMask |
|
151 | 153 | */ |
152 | 154 | private function installVanillaBundleAssets($originDir, $targetDir, $symlinkMask) |
153 | 155 | { |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | { |
142 | 142 | $tenantCode = substr($themeName, strpos($themeName, '@') + 1); |
143 | 143 | |
144 | - return array_map(function ($parentName) use ($themeName, $existingThemes, $tenantCode) { |
|
144 | + return array_map(function($parentName) use ($themeName, $existingThemes, $tenantCode) { |
|
145 | 145 | $parentName .= '@'.$tenantCode; |
146 | 146 | if (!isset($existingThemes[$parentName])) { |
147 | 147 | throw new ThemeLoadingFailedException(sprintf( |
@@ -157,14 +157,14 @@ discard block |
||
157 | 157 | |
158 | 158 | private function convertAuthorsArraysToAuthorsObjects(array $authorsArrays): array |
159 | 159 | { |
160 | - return array_map(function (array $authorArray) { |
|
160 | + return array_map(function(array $authorArray) { |
|
161 | 161 | return $this->themeAuthorFactory->createFromArray($authorArray); |
162 | 162 | }, $authorsArrays); |
163 | 163 | } |
164 | 164 | |
165 | 165 | private function convertScreenshotsArraysToScreenshotsObjects(array $screenshotsArrays): array |
166 | 166 | { |
167 | - return array_map(function (array $screenshotArray) { |
|
167 | + return array_map(function(array $screenshotArray) { |
|
168 | 168 | return $this->themeScreenshotFactory->createFromArray($screenshotArray); |
169 | 169 | }, $screenshotsArrays); |
170 | 170 | } |