@@ -32,7 +32,9 @@ |
||
| 32 | 32 | |
| 33 | 33 | public function add(NodeGeneric $child):NodeGeneric |
| 34 | 34 | { |
| 35 | - if (is_null($this->value)) $this->value = new NodeList(); |
|
| 35 | + if (is_null($this->value)) { |
|
| 36 | + $this->value = new NodeList(); |
|
| 37 | + } |
|
| 36 | 38 | $candidate = $child; |
| 37 | 39 | if (!$child->isOneOf('Scalar', 'Blank', 'Comment', 'Quoted')) { |
| 38 | 40 | $candidate = new Scalar((string) $child->raw, $child->line); |