@@ -97,6 +97,9 @@ |
||
| 97 | 97 | } |
| 98 | 98 | } |
| 99 | 99 | |
| 100 | + /** |
|
| 101 | + * @param string $logicalName |
|
| 102 | + */ |
|
| 100 | 103 | private function findTemplate($logicalName): string |
| 101 | 104 | { |
| 102 | 105 | $logicalName = (string) $logicalName; |
@@ -158,7 +158,7 @@ |
||
| 158 | 158 | { |
| 159 | 159 | $themes = array_filter( |
| 160 | 160 | $loadedThemes, |
| 161 | - static function ($element) use (&$themeName) { |
|
| 161 | + static function($element) use (&$themeName) { |
|
| 162 | 162 | return $element->getName() === $themeName; |
| 163 | 163 | } |
| 164 | 164 | ); |
@@ -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 | { |
@@ -67,7 +67,7 @@ |
||
| 67 | 67 | foreach ($this->paths as $path) { |
| 68 | 68 | $files = $this->themeAssetProvider->listContents($path, true); |
| 69 | 69 | try { |
| 70 | - $filteredFiles = array_filter($files, static function ($value) use ($name) { |
|
| 70 | + $filteredFiles = array_filter($files, static function($value) use ($name) { |
|
| 71 | 71 | return 'file' === $value['type'] && isset($value['extension']) && $value['filename'].'.'.$value['extension'] === $name; |
| 72 | 72 | }); |
| 73 | 73 | |
@@ -125,7 +125,7 @@ |
||
| 125 | 125 | { |
| 126 | 126 | $themes = \array_filter( |
| 127 | 127 | $this->themeLoader->load(), |
| 128 | - static function ($element) use (&$themeName) { |
|
| 128 | + static function($element) use (&$themeName) { |
|
| 129 | 129 | return $element->getName() === $themeName; |
| 130 | 130 | } |
| 131 | 131 | ); |