From cdf2f3eb165f0ceb1e58405b20146a5acdec4605 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Wed, 25 Aug 2021 09:25:13 +0200 Subject: [PATCH] DOMCharacterData::$data and DOMAttr::$value are writable --- ext/dom/php_dom.stub.php | 2 -- ext/dom/php_dom_arginfo.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/ext/dom/php_dom.stub.php b/ext/dom/php_dom.stub.php index 42b0f1b356a..fd72de09b76 100644 --- a/ext/dom/php_dom.stub.php +++ b/ext/dom/php_dom.stub.php @@ -238,7 +238,6 @@ class DOMNodeList implements IteratorAggregate, Countable class DOMCharacterData extends DOMNode implements DOMChildNode { - /** @readonly */ public string $data; /** @readonly */ @@ -285,7 +284,6 @@ class DOMAttr extends DOMNode /** @readonly */ public bool $specified = true; - /** @readonly */ public string $value; /** @readonly */ diff --git a/ext/dom/php_dom_arginfo.h b/ext/dom/php_dom_arginfo.h index ff024d52f64..2cbfc498f15 100644 --- a/ext/dom/php_dom_arginfo.h +++ b/ext/dom/php_dom_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: cff5c4b824da940f151617d08bb6b2419a9d26e9 */ + * Stub hash: a01ea3d7803ba6099c79365ab8f45ca8d4f5d447 */ ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_dom_import_simplexml, 0, 1, DOMElement, 0) ZEND_ARG_TYPE_INFO(0, node, IS_OBJECT, 0)