Merge branch 'PHP-8.4'

* PHP-8.4:
  Add missing backslash for TokenList interfaces in stub (#17009)
This commit is contained in:
Niels Dossche 2024-12-01 15:20:01 +01:00
commit 514cd2022e
No known key found for this signature in database
GPG key ID: B8A8AD166DF0E2E5
2 changed files with 4 additions and 4 deletions

View file

@ -2100,7 +2100,7 @@ namespace Dom
* @not-serializable
* @strict-properties
*/
final class TokenList implements IteratorAggregate, Countable
final class TokenList implements \IteratorAggregate, \Countable
{
/** @implementation-alias Dom\Node::__construct */
private function __construct() {}

View file

@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: 860bf40a97ec6570e9f5b0616407ba55d7c8d6f8 */
* Stub hash: 0fcee2fa666dc88faf084578dde157409a6f5594 */
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_dom_import_simplexml, 0, 1, DOMAttr|DOMElement, 0)
ZEND_ARG_TYPE_INFO(0, node, IS_OBJECT, 0)
@ -3524,13 +3524,13 @@ static zend_class_entry *register_class_Dom_XMLDocument(zend_class_entry *class_
return class_entry;
}
static zend_class_entry *register_class_Dom_TokenList(zend_class_entry *class_entry_Dom_IteratorAggregate, zend_class_entry *class_entry_Dom_Countable)
static zend_class_entry *register_class_Dom_TokenList(zend_class_entry *class_entry_IteratorAggregate, zend_class_entry *class_entry_Countable)
{
zend_class_entry ce, *class_entry;
INIT_NS_CLASS_ENTRY(ce, "Dom", "TokenList", class_Dom_TokenList_methods);
class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES|ZEND_ACC_NOT_SERIALIZABLE);
zend_class_implements(class_entry, 2, class_entry_Dom_IteratorAggregate, class_entry_Dom_Countable);
zend_class_implements(class_entry, 2, class_entry_IteratorAggregate, class_entry_Countable);
zval property_length_default_value;
ZVAL_UNDEF(&property_length_default_value);