diff --git a/lib/Element/XmlFragment.php b/lib/Element/XmlFragment.php index cdf9f3f..94f745b 100644 --- a/lib/Element/XmlFragment.php +++ b/lib/Element/XmlFragment.php @@ -134,7 +134,7 @@ public function xmlSerialize(Writer $writer): void * $reader->parseInnerTree() will parse the entire sub-tree, and advance to * the next element. */ - public static function xmlDeserialize(Reader $reader): XmlFragment + public static function xmlDeserialize(Reader $reader) { $result = new self($reader->readInnerXml()); $reader->next();