BpNode: Re-index childnames upon node removal

This commit is contained in:
Johannes Meyer 2023-08-03 17:56:36 +02:00
parent 1b837c72a3
commit 9c84764157

View file

@ -173,6 +173,8 @@ class BpNode extends Node
if (! empty($this->children)) {
unset($this->children[$name]);
}
$this->childNames = array_values($this->childNames);
}
return $this;