@@ -45,7 +45,7 @@ |
||
| 45 | 45 | $table->enableFormattingTags() |
| 46 | 46 | ->setHeaders(array($environment1, $environment2)) |
| 47 | 47 | ->displayKeys() |
| 48 | - ->setValueRenderingFunction(function($value){ |
|
| 48 | + ->setValueRenderingFunction(function($value) { |
|
| 49 | 49 | return $this->formatValue($value); |
| 50 | 50 | }); |
| 51 | 51 | |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | |
| 43 | 43 | public function getAllVariables() |
| 44 | 44 | { |
| 45 | - $variables = array_map(function($key){ |
|
| 45 | + $variables = array_map(function($key) { |
|
| 46 | 46 | return $this->extractVariableName($key); |
| 47 | 47 | }, array_keys($this->values)); |
| 48 | 48 | |
@@ -266,8 +266,7 @@ |
||
| 266 | 266 | { |
| 267 | 267 | $formatter = $this->getFormatterForCurrentTargetFile(); |
| 268 | 268 | |
| 269 | - $content = preg_replace_callback(self::VARIABLE_REGEX, function(array $matches) use($environment, $formatter) |
|
| 270 | - { |
|
| 269 | + $content = preg_replace_callback(self::VARIABLE_REGEX, function(array $matches) use($environment, $formatter) { |
|
| 271 | 270 | $value = $this->readValueToInject($matches['variableName'], $environment); |
| 272 | 271 | |
| 273 | 272 | if(is_array($value)) |
@@ -191,8 +191,7 @@ |
||
| 191 | 191 | if( |
| 192 | 192 | ! array_key_exists($parameter, $parameterValidators) |
| 193 | 193 | || ! $parameterValidators[$parameter] instanceof \Closure |
| 194 | - ) |
|
| 195 | - { |
|
| 194 | + ) { |
|
| 196 | 195 | return true; |
| 197 | 196 | } |
| 198 | 197 | |