Completed
Push — master ( 468eea...0d67dc )
by Klaus
03:54
created
src/Parser/BlocklyXmlParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Ast/LogicalOperationNode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,6 +14,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Ast/ComparisonOperationNode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,6 +28,6 @@
 block discarded – undo
28 28
                 return $this->firstOperand->evaluate() <= $this->secondOperand->evaluate();
29 29
         }
30 30
 
31
-        throw new \RuntimeException('Undefined comparison operator: ' . $this->operator);
31
+        throw new \RuntimeException('Undefined comparison operator: '.$this->operator);
32 32
     }
33 33
 }
Please login to merge, or discard this patch.
src/Ast/MathOperationNode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,6 +25,6 @@
 block discarded – undo
25 25
                 return $this->firstOperand->evaluate() ** $this->secondOperand->evaluate();
26 26
         }
27 27
 
28
-        throw new \RuntimeException('Undefined operator: ' . $this->operator);
28
+        throw new \RuntimeException('Undefined operator: '.$this->operator);
29 29
     }
30 30
 }
Please login to merge, or discard this patch.