@@ -347,8 +347,7 @@ |
||
| 347 | 347 | { |
| 348 | 348 | $formatter = $this->formatterForCurrentTargetFile(); |
| 349 | 349 | |
| 350 | - $content = preg_replace_callback(self::VARIABLE_REGEX, function(array $matches) use($environment, $formatter) |
|
| 351 | - { |
|
| 350 | + $content = preg_replace_callback(self::VARIABLE_REGEX, function(array $matches) use($environment, $formatter) { |
|
| 352 | 351 | $value = $this->readValueToInject($matches['variableName'], $environment); |
| 353 | 352 | |
| 354 | 353 | if(is_array($value)) |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | |
| 45 | 45 | public function allVariables(): array |
| 46 | 46 | { |
| 47 | - $variables = array_map(function($key){ |
|
| 47 | + $variables = array_map(function($key) { |
|
| 48 | 48 | return $this->extractVariableName($key); |
| 49 | 49 | }, array_keys($this->values)); |
| 50 | 50 | |