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 f497959
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.
*/
public static function xpQuery(DOMNode $node, string $query, DOMXPath $xpCache): array
{
Expand Down

0 comments on commit f497959

Please sign in to comment.