diff --git a/stubs/extensions/dom.phpstub b/stubs/extensions/dom.phpstub index 20bdb78d3..e0f8f8a72 100644 --- a/stubs/extensions/dom.phpstub +++ b/stubs/extensions/dom.phpstub @@ -978,6 +978,9 @@ class DOMXPath public function evaluate(string $expression, ?DOMNode $contextNode = null, bool $registerNodeNS = true): mixed {} + /** + * @return DOMNodeList|false + */ public function query(string $expression, ?DOMNode $contextNode = null, bool $registerNodeNS = true): mixed {} public function registerNamespace(string $prefix, string $namespace): bool {}