Skip to content

Commit 7dcd3f6

Browse files
committed
Pass option on to parent
1 parent a9acec7 commit 7dcd3f6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Utils/XPath.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@ class XPath extends XPathUtils
2727
*/
2828
public static function getXPath(DOMNode $node, bool $autoregister = false): DOMXPath
2929
{
30-
$xp = parent::getXPath($node);
30+
$xp = parent::getXPath($node, $autoregister);
31+
3132
$xp->registerNamespace('ds', C::NS_XDSIG);
3233
$xp->registerNamespace('xenc', C::NS_XENC);
34+
3335
return $xp;
3436
}
3537
}

0 commit comments

Comments
 (0)