Passed
Push — master ( d8a693...0cd64b )
by Hong
02:02
created
src/Util/Loader.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -96,9 +96,9 @@  discard block
 block discarded – undo
96 96
     protected function globFiles(string $group, string $environment): array
97 97
     {
98 98
         $files = [];
99
-        $grp = ($group ?: '*') . '.*';
99
+        $grp = ($group ?: '*').'.*';
100 100
         foreach ($this->searchDirs($environment) as $dir) {
101
-            $globs = \glob($dir . \DIRECTORY_SEPARATOR . $grp);
101
+            $globs = \glob($dir.\DIRECTORY_SEPARATOR.$grp);
102 102
             $files = array_merge($files, $globs ?: []);
103 103
         }
104 104
         return $files;
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
         $d = $this->root_dir;
123 123
         $dirs = [$d];
124 124
         foreach ($envs as $p) {
125
-            $d .= \DIRECTORY_SEPARATOR . $p;
125
+            $d .= \DIRECTORY_SEPARATOR.$p;
126 126
             $dirs[] = $d;
127 127
         }
128 128
         return $dirs;
Please login to merge, or discard this patch.