Completed
Pull Request — master (#8)
by
unknown
05:30
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/MathOperationNode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,6 +23,6 @@
 block discarded – undo
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
 }
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
@@ -27,6 +27,6 @@
 block discarded – undo
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
 }
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.