We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20ff714 commit f540d98Copy full SHA for f540d98
src/Xml.php
@@ -53,6 +53,7 @@ protected function __construct(
53
$this->root = $root ?? $this;
54
$this->parent = $parent;
55
$this->sub = false;
56
+ $this->children = [];
57
}
58
59
public static function createRoot(string $name = null): self
@@ -474,4 +475,4 @@ private function calculateVars(\stdClass $parentVars = null)
474
475
476
return $vars;
477
-}
478
+}
0 commit comments