@@ -12,7 +12,7 @@ |
||
| 12 | 12 | { |
| 13 | 13 | public function add(Node $child):Node |
| 14 | 14 | { |
| 15 | - if($this->_parent instanceof Node) { |
|
| 15 | + if ($this->_parent instanceof Node) { |
|
| 16 | 16 | return $this->_parent->add($child); |
| 17 | 17 | } else { |
| 18 | 18 | throw new \ParseError(__METHOD__." no parent to add to", 1); |