@@ -42,7 +42,7 @@ |
||
| 42 | 42 | * @param array $constants |
| 43 | 43 | * @param array $variables |
| 44 | 44 | * @param array $templates |
| 45 | - * @param array $dotenvPaths |
|
| 45 | + * @param ScriptPath[] $dotenvPaths |
|
| 46 | 46 | */ |
| 47 | 47 | public function __construct(array $constants, array $variables, array $templates, array $dotenvPaths) |
| 48 | 48 | { |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | { |
| 159 | 159 | $paths = $this->extractData($key, $rawConfigData, []); |
| 160 | 160 | |
| 161 | - return array_map(function ($path) use ($file) { |
|
| 161 | + return array_map(function($path) use ($file) { |
|
| 162 | 162 | return $this->fixPath($path, $file); |
| 163 | 163 | }, $paths); |
| 164 | 164 | } |
@@ -172,7 +172,7 @@ discard block |
||
| 172 | 172 | { |
| 173 | 173 | $templates = $this->extractData(self::KEY_TEMPLATES, $rawConfigData, []); |
| 174 | 174 | |
| 175 | - return array_map(function ($template) use ($file) { |
|
| 175 | + return array_map(function($template) use ($file) { |
|
| 176 | 176 | $template['source'] = $this->fixPath($template['source'], $file); |
| 177 | 177 | $template['destination'] = $this->makeAbsolutePath($file, $template['destination']); |
| 178 | 178 | |