]> granicus.if.org Git - php/commitdiff
Merge branch 'PHP-8.0'
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 9 Feb 2021 11:29:50 +0000 (12:29 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 9 Feb 2021 11:29:50 +0000 (12:29 +0100)
* PHP-8.0:
  Make createDocument() $namespace nullable

1  2 
ext/dom/php_dom.stub.php
ext/dom/php_dom_arginfo.h

index c1310a23995776d9189a5e00714214fe624bd1fa,29e7a0ad805932baae33ff54575221b5dd922f0c..8f28056a195224457a944c5a665776c31c799493
@@@ -112,10 -105,10 +112,10 @@@ class DOMImplementatio
      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
 +class DOMDocumentFragment extends DOMNode implements DOMParentNode
  {
      public function __construct() {}
  
index 53f3e98624531d9ff52610e3c562c92e4df374c5,43ed756b294ee43784021382708df08b56f8fabb..592e713c057d00189cf994c09686cdb525f459b6
@@@ -1,5 -1,5 +1,5 @@@
  /* This is a generated file, edit the .stub.php file instead.
-  * Stub hash: 5d6877f7b7474a39a710ffde69122cd029663f26 */
 - * Stub hash: f4f6923a713a51d2944a21a123967343320be15c */
++ * Stub hash: 506911ba27d7f57bc66fcba93ea0c284689d9527 */
  
  ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_dom_import_simplexml, 0, 1, DOMElement, 1)
        ZEND_ARG_TYPE_INFO(0, node, IS_OBJECT, 0)