Completed
Pull Request — master (#911)
by Paweł
09:39
created
src/SWP/Bundle/CoreBundle/Controller/StaticThemeAssetsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
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
         );
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/Theme/Installer/TenantAwareThemeInstaller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
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
         );
Please login to merge, or discard this patch.
SWP/Bundle/CoreBundle/Theme/Locator/TenantThemesRecursiveFileLocator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
             $files = $this->themeAssetProvider->listContents($path, true);
69 69
 
70 70
             try {
71
-                $filteredFiles = array_filter($files, static function ($value) use ($name) {
71
+                $filteredFiles = array_filter($files, static function($value) use ($name) {
72 72
                     return 'file' === $value['type'] && isset($value['extension']) && $value['filename'].'.'.$value['extension'] === $name;
73 73
                 });
74 74
 
Please login to merge, or discard this patch.