@@ -96,9 +96,9 @@ discard block |
||
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 |
||
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; |
@@ -40,7 +40,7 @@ |
||
40 | 40 | public function getConfig(): ConfigInterface |
41 | 41 | { |
42 | 42 | if (is_null($this->config)) { |
43 | - throw new \LogicException("Config not set in " . get_class($this)); |
|
43 | + throw new \LogicException("Config not set in ".get_class($this)); |
|
44 | 44 | } |
45 | 45 | return $this->config; |
46 | 46 | } |