@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | throw new Exception('Macro with the same name already registered.'); |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | - $this->macro[$macro->getName()] = [ $macro, 'execute' ]; |
|
| 34 | + $this->macro[$macro->getName()] = [$macro, 'execute']; |
|
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | public function setVariable($name, $value) |
@@ -180,7 +180,7 @@ discard block |
||
| 180 | 180 | $required = $this->consumeOptionalAssignementOperator(); |
| 181 | 181 | $realValue = $this->parseValue($required, $valueIsKey); |
| 182 | 182 | if ($valueIsKey) { |
| 183 | - return new ObjectNode([ $value => $realValue ]); |
|
| 183 | + return new ObjectNode([$value => $realValue]); |
|
| 184 | 184 | } |
| 185 | 185 | break; |
| 186 | 186 | case Token::T_BOOL: |
@@ -348,7 +348,7 @@ discard block |
||
| 348 | 348 | return $value; |
| 349 | 349 | } |
| 350 | 350 | |
| 351 | - $files = [ $path ]; |
|
| 351 | + $files = [$path]; |
|
| 352 | 352 | } |
| 353 | 353 | |
| 354 | 354 | $token = $this->token; |