Skip to content

Commit

Permalink
Merge pull request #10443 from nielsdos/5.x
Browse files Browse the repository at this point in the history
Fix return type of DOMXPath::query
  • Loading branch information
orklah committed Dec 2, 2023
2 parents f9f8bac + 6eba2f5 commit f7df43a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/extensions/dom.phpstub
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,7 @@ class DOMXPath
public function evaluate(string $expression, ?DOMNode $contextNode = null, bool $registerNodeNS = true): mixed {}

/**
* @return DOMNodeList<DOMNode>|false
* @return DOMNodeList<DOMNode|DOMNameSpaceNode>|false
*/
public function query(string $expression, ?DOMNode $contextNode = null, bool $registerNodeNS = true): mixed {}

Expand Down

0 comments on commit f7df43a

Please sign in to comment.