@@ -47,7 +47,7 @@ |
||
| 47 | 47 | $dataDir = (string) $this->getBuilder($output)->getConfig()->get('data.dir'); |
| 48 | 48 | |
| 49 | 49 | // formating output |
| 50 | - $unicodeTreePrefix = function (RecursiveTreeIterator $tree) { |
|
| 50 | + $unicodeTreePrefix = function(RecursiveTreeIterator $tree) { |
|
| 51 | 51 | $prefixParts = [ |
| 52 | 52 | RecursiveTreeIterator::PREFIX_LEFT => ' ', |
| 53 | 53 | RecursiveTreeIterator::PREFIX_MID_HAS_NEXT => '│ ', |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | * Overrides configuration with environment variables. |
| 57 | 57 | */ |
| 58 | 58 | $data = $this->getData(); |
| 59 | - $applyEnv = function ($array) use ($data) { |
|
| 59 | + $applyEnv = function($array) use ($data) { |
|
| 60 | 60 | $iterator = new \RecursiveIteratorIterator( |
| 61 | 61 | new \RecursiveArrayIterator($array), |
| 62 | 62 | \RecursiveIteratorIterator::SELF_FIRST |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | */ |
| 129 | 129 | public static function joinPath(string ...$path): string |
| 130 | 130 | { |
| 131 | - array_walk($path, function (&$value) { |
|
| 131 | + array_walk($path, function(&$value) { |
|
| 132 | 132 | $value = str_replace('\\', '/', $value); |
| 133 | 133 | $value = rtrim($value, '/'); |
| 134 | 134 | }); |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | */ |
| 146 | 146 | public static function joinFile(string ...$path): string |
| 147 | 147 | { |
| 148 | - array_walk($path, function (&$value, $key) use (&$path) { |
|
| 148 | + array_walk($path, function(&$value, $key) use (&$path) { |
|
| 149 | 149 | $value = str_replace(['\\', '/'], [DIRECTORY_SEPARATOR, DIRECTORY_SEPARATOR], $value); |
| 150 | 150 | $value = rtrim($value, DIRECTORY_SEPARATOR); |
| 151 | 151 | if (empty($value)) { |