We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8123f41 commit 32ac524Copy full SHA for 32ac524
1 file changed
src/Utils/XPath.php
@@ -18,14 +18,14 @@ class XPath extends \SimpleSAML\XML\Utils\XPath
18
/**
19
* Get a DOMXPath object that can be used to search for XMLDSIG elements.
20
*
21
- * @param \DOMNode $doc The document to associate to the DOMXPath object.
+ * @param \DOMNode $node The document to associate to the DOMXPath object.
22
23
* @return \DOMXPath A DOMXPath object ready to use in the given document, with the XMLDSIG namespace already
24
* registered.
25
*/
26
- public static function getXPath(DOMNode $doc): DOMXPath
+ public static function getXPath(DOMNode $node): DOMXPath
27
{
28
- $xp = parent::getXPath($doc);
+ $xp = parent::getXPath($node);
29
$xp->registerNamespace('ds', C::NS_XDSIG);
30
$xp->registerNamespace('xenc', C::NS_XENC);
31
return $xp;
0 commit comments