mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 13:51:54 +01:00
Narrow down the return type of DOMXPath::query()
This commit is contained in:
parent
8329309999
commit
18e8dd9da1
@ -978,6 +978,9 @@ class DOMXPath
|
|||||||
|
|
||||||
public function evaluate(string $expression, ?DOMNode $contextNode = null, bool $registerNodeNS = true): mixed {}
|
public function evaluate(string $expression, ?DOMNode $contextNode = null, bool $registerNodeNS = true): mixed {}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return DOMNodeList<DOMNode>|false
|
||||||
|
*/
|
||||||
public function query(string $expression, ?DOMNode $contextNode = null, bool $registerNodeNS = true): mixed {}
|
public function query(string $expression, ?DOMNode $contextNode = null, bool $registerNodeNS = true): mixed {}
|
||||||
|
|
||||||
public function registerNamespace(string $prefix, string $namespace): bool {}
|
public function registerNamespace(string $prefix, string $namespace): bool {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user