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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dom/php_dom.stub.php b/ext/dom/php_dom.stub.php
index b303caf93f..29e7a0ad80 100644
--- a/ext/dom/php_dom.stub.php
+++ b/ext/dom/php_dom.stub.php
@@ -105,7 +105,7 @@ class DOMImplementation
public function createDocumentType(string $qualifiedName, string $publicId = "", string $systemId = "") {}
/** @return DOMDocument|false */
- public function createDocument(string $namespace = "", string $qualifiedName = "", ?DOMDocumentType $doctype = null) {}
+ public function createDocument(?string $namespace = null, string $qualifiedName = "", ?DOMDocumentType $doctype = null) {}
}
class DOMDocumentFragment implements DOMParentNode