Completed
Pull Request — master (#10)
by
unknown
01:27
created
src/Parser/BlocklyXmlParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
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);
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
@@ -27,6 +27,6 @@
 block discarded – undo
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
 }
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
@@ -18,6 +18,6 @@
 block discarded – undo
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
 }
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
@@ -30,6 +30,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.