diff options
Diffstat (limited to 'src/Nodes/DOMDocument.php')
-rw-r--r-- | src/Nodes/DOMDocument.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Nodes/DOMDocument.php b/src/Nodes/DOMDocument.php index f954f7d..510cdf2 100644 --- a/src/Nodes/DOMDocument.php +++ b/src/Nodes/DOMDocument.php @@ -14,7 +14,7 @@ class DOMDocument extends \DOMDocument $this->registerNodeClass('DOMCdataSection', DOMCdataSection::class); $this->registerNodeClass('DOMCharacterData', DOMCharacterData::class); $this->registerNodeClass('DOMComment', DOMComment::class); - $this->registerNodeClass('DOMDocument', DOMDocument::class); + $this->registerNodeClass('DOMDocument', self::class); $this->registerNodeClass('DOMDocumentFragment', DOMDocumentFragment::class); $this->registerNodeClass('DOMDocumentType', DOMDocumentType::class); $this->registerNodeClass('DOMElement', DOMElement::class); |