@@ -56,7 +56,7 @@ |
||
| 56 | 56 | $block = $element->getName() === 'block' ? $element : $element->block; |
| 57 | 57 | |
| 58 | 58 | if (!isset($this->blocks[(string) $block['type']])) { |
| 59 | - throw new \RuntimeException('Undefined node: ' . $block['type']); |
|
| 59 | + throw new \RuntimeException('Undefined node: '.$block['type']); |
|
| 60 | 60 | } |
| 61 | 61 | |
| 62 | 62 | return $this->blocks[(string) $block['type']]->getNode($root, $block); |
@@ -23,6 +23,6 @@ |
||
| 23 | 23 | return pow($this->firstOperand->evaluate(), $this->secondOperand->evaluate()); |
| 24 | 24 | } |
| 25 | 25 | |
| 26 | - throw new \RuntimeException('Undefined operator: ' . $this->operator); |
|
| 26 | + throw new \RuntimeException('Undefined operator: '.$this->operator); |
|
| 27 | 27 | } |
| 28 | 28 | } |
@@ -27,6 +27,6 @@ |
||
| 27 | 27 | |
| 28 | 28 | } |
| 29 | 29 | |
| 30 | - throw new \RuntimeException('Undefined comparison operator: ' . $this->operator); |
|
| 30 | + throw new \RuntimeException('Undefined comparison operator: '.$this->operator); |
|
| 31 | 31 | } |
| 32 | 32 | } |
@@ -14,6 +14,6 @@ |
||
| 14 | 14 | return $this->firstOperand->evaluate() || $this->secondOperand->evaluate(); |
| 15 | 15 | } |
| 16 | 16 | |
| 17 | - throw new \RuntimeException('Undefined logical operator: ' . $this->operator); |
|
| 17 | + throw new \RuntimeException('Undefined logical operator: '.$this->operator); |
|
| 18 | 18 | } |
| 19 | 19 | } |