Completed
Pull Request — master (#911)
by Paweł
08:36
created
src/SWP/Bundle/CoreBundle/Theme/Loader/FilesystemTemplateLoader.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -97,6 +97,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
SWP/Bundle/CoreBundle/Theme/Locator/TenantS3ThemesRecursiveFileLocator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         foreach ($this->paths as $path) {
38 38
             $files = $this->filesystem->listContents($path, true);
39 39
             try {
40
-                $filteredFiles = \array_filter($files, static function ($value) use ($name) {
40
+                $filteredFiles = \array_filter($files, static function($value) use ($name) {
41 41
                     return 'file' === $value['type'] && $value['filename'].'.'.$value['extension'] === $name;
42 42
                 });
43 43
 
Please login to merge, or discard this patch.
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.