1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 12:55:26 +01:00

Merge pull request #10443 from nielsdos/5.x

Fix return type of DOMXPath::query
This commit is contained in:
orklah 2023-12-02 14:13:37 +01:00 committed by GitHub
commit f7df43a79e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {}