1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Add missing backslash for TokenList interfaces in stub (#17009)

Discovered while trying to generate class synopses.
This commit is contained in:
Niels Dossche
2024-12-01 15:18:44 +01:00
committed by GitHub
parent 6419ae4c48
commit d7a37cc9ad
2 changed files with 4 additions and 4 deletions

View File

@@ -2096,7 +2096,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: 55ab8f866af63bd2edf96839d35bc8aba88e37ca */
* Stub hash: d8a9d33a072c3c9e3798be5eee1833163a18f441 */
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)
@@ -3525,13 +3525,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);