Skip to content

Commit

Permalink
Fix compatibility with PHP 7
Browse files Browse the repository at this point in the history
  • Loading branch information
GromNaN committed Feb 19, 2020
1 parent 400dfc4 commit 789406e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Welldom/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public function getXml()
* $doc->encoding = 'iso-8859-15';
* $doc->saveXML($node);
*/
public function saveXML(\DOMNode $node = null, int $options = null)
public function saveXML(\DOMNode $node = null, $options = null)
{
if (null === $node) {
return parent::saveXML(null, $options);
Expand Down

0 comments on commit 789406e

Please sign in to comment.