Skip to content

Commit f3ac6a1

Browse files
committed
Fix type
1 parent efef006 commit f3ac6a1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/XML/SerializableElementTrait.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ public function __toString(): string
3232
{
3333
$xml = $this->toXML();
3434

35+
/** @var \Dom\XMLDocument $doc */
3536
$doc = $xml->ownerDocument;
3637
$doc = Dom\XMLDocument::createFromString($doc->saveXml($doc->documentElement));
3738

0 commit comments

Comments
 (0)