Skip to content

Commit

Permalink
Fix return-type
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Dec 13, 2023
1 parent 5e995f8 commit 4b45705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils/XPath.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public static function getXPath(DOMNode $node): DOMXPath
* @param \DOMNode $node The XML node.
* @param string $query The query.
* @param \DOMXPath $xpCache The DOMXPath object
* @return \DOMNode[] Array with matching DOM nodes.
* @return array<int<0, max>, DOMNameSpaceNode|DOMNode|null> Array with matching DOM nodes.

Check failure on line 52 in src/Utils/XPath.php

View workflow job for this annotation

GitHub Actions / Quality control

UndefinedDocblockClass

src/Utils/XPath.php:52:16: UndefinedDocblockClass: Docblock-defined class, interface or enum named SimpleSAML\XML\Utils\DOMNameSpaceNode does not exist (see https://psalm.dev/200)
*/
public static function xpQuery(DOMNode $node, string $query, DOMXPath $xpCache): array
{
Expand Down

0 comments on commit 4b45705

Please sign in to comment.