@@ -54,7 +54,7 @@ |
||
| 54 | 54 | $block = $element->getName() === 'block' ? $element : $element->block; |
| 55 | 55 | |
| 56 | 56 | if (!isset($this->blocks[(string) $block['type']])) { |
| 57 | - throw new RuntimeException('Undefined node: ' . $block['type']); |
|
| 57 | + throw new RuntimeException('Undefined node: '.$block['type']); |
|
| 58 | 58 | } |
| 59 | 59 | |
| 60 | 60 | return $this->blocks[(string) $block['type']]->getNode($root, $block); |
@@ -27,6 +27,6 @@ |
||
| 27 | 27 | return $this->firstOperand->evaluate() ** $this->secondOperand->evaluate(); |
| 28 | 28 | } |
| 29 | 29 | |
| 30 | - throw new RuntimeException('Undefined operator: ' . $this->operator); |
|
| 30 | + throw new RuntimeException('Undefined operator: '.$this->operator); |
|
| 31 | 31 | } |
| 32 | 32 | } |
@@ -18,6 +18,6 @@ |
||
| 18 | 18 | return $this->firstOperand->evaluate() || $this->secondOperand->evaluate(); |
| 19 | 19 | } |
| 20 | 20 | |
| 21 | - throw new RuntimeException('Undefined logical operator: ' . $this->operator); |
|
| 21 | + throw new RuntimeException('Undefined logical operator: '.$this->operator); |
|
| 22 | 22 | } |
| 23 | 23 | } |
@@ -30,6 +30,6 @@ |
||
| 30 | 30 | return $this->firstOperand->evaluate() <= $this->secondOperand->evaluate(); |
| 31 | 31 | } |
| 32 | 32 | |
| 33 | - throw new RuntimeException('Undefined comparison operator: ' . $this->operator); |
|
| 33 | + throw new RuntimeException('Undefined comparison operator: '.$this->operator); |
|
| 34 | 34 | } |
| 35 | 35 | } |