public function append($nodes) { /** @var \DOMNode|Implementation $this */ if ($nodes = MutationMacro::expand($this, $nodes)) { $this->appendChild($nodes); } }