Skip to content

Commit

Permalink
Merge pull request #258 from sabre-io/fix/xmlfragment-deserialize-return
Browse files Browse the repository at this point in the history
fix: return type of XmlFragment::xmlDeserialize to match base declara…
  • Loading branch information
DeepDiver1975 authored Nov 9, 2023
2 parents a0de970 + f273a8c commit b53d594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Element/XmlFragment.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit b53d594

Please sign in to comment.