@@ -7,7 +7,7 @@ discard block |
||
| 7 | 7 | * @package Phoole\Config |
| 8 | 8 | * @copyright Copyright (c) 2019 Hong Zhang |
| 9 | 9 | */ |
| 10 | -declare(strict_types = 1); |
|
| 10 | +declare(strict_types=1); |
|
| 11 | 11 | |
| 12 | 12 | namespace Phoole\Config\Util; |
| 13 | 13 | |
@@ -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; |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | * @package Phoole\Config |
| 8 | 8 | * @copyright Copyright (c) 2019 Hong Zhang |
| 9 | 9 | */ |
| 10 | -declare(strict_types = 1); |
|
| 10 | +declare(strict_types=1); |
|
| 11 | 11 | |
| 12 | 12 | namespace Phoole\Config; |
| 13 | 13 | |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | * @package Phoole\Config |
| 8 | 8 | * @copyright Copyright (c) 2019 Hong Zhang |
| 9 | 9 | */ |
| 10 | -declare(strict_types = 1); |
|
| 10 | +declare(strict_types=1); |
|
| 11 | 11 | |
| 12 | 12 | namespace Phoole\Config; |
| 13 | 13 | |