summaryrefslogtreecommitdiff
path: root/ext/dom/php_dom.stub.php
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/php_dom.stub.php')
-rw-r--r--ext/dom/php_dom.stub.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dom/php_dom.stub.php b/ext/dom/php_dom.stub.php
index cdc6b99846..b303caf93f 100644
--- a/ext/dom/php_dom.stub.php
+++ b/ext/dom/php_dom.stub.php
@@ -190,7 +190,7 @@ class DOMElement implements DOMParentNode, DOMChildNode
public function getElementsByTagName(string $qualifiedName) {}
/** @return DOMNodeList */
- public function getElementsByTagNameNS(string $namespace, string $localName) {}
+ public function getElementsByTagNameNS(?string $namespace, string $localName) {}
/** @return bool */
public function hasAttribute(string $qualifiedName) {}
@@ -287,7 +287,7 @@ class DOMDocument implements DOMParentNode
public function getElementsByTagName(string $qualifiedName) {}
/** @return DOMNodeList */
- public function getElementsByTagNameNS(string $namespace, string $localName) {}
+ public function getElementsByTagNameNS(?string $namespace, string $localName) {}
/** @return DOMNode|false */
public function importNode(DOMNode $node, bool $deep = false) {}