Skip to content

Commit 32ac524

Browse files
committed
Fix psalm issue
1 parent 8123f41 commit 32ac524

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Utils/XPath.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ class XPath extends \SimpleSAML\XML\Utils\XPath
1818
/**
1919
* Get a DOMXPath object that can be used to search for XMLDSIG elements.
2020
*
21-
* @param \DOMNode $doc The document to associate to the DOMXPath object.
21+
* @param \DOMNode $node The document to associate to the DOMXPath object.
2222
*
2323
* @return \DOMXPath A DOMXPath object ready to use in the given document, with the XMLDSIG namespace already
2424
* registered.
2525
*/
26-
public static function getXPath(DOMNode $doc): DOMXPath
26+
public static function getXPath(DOMNode $node): DOMXPath
2727
{
28-
$xp = parent::getXPath($doc);
28+
$xp = parent::getXPath($node);
2929
$xp->registerNamespace('ds', C::NS_XDSIG);
3030
$xp->registerNamespace('xenc', C::NS_XENC);
3131
return $xp;

0 commit comments

Comments
 (0)