Skip to content

Commit 686d6c3

Browse files
committed
Fix XmlParser classname in stubs
1 parent 4173f2b commit 686d6c3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ext/xml/xml.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ static void php_xml_free_wrapper(void *ptr)
254254
PHP_MINIT_FUNCTION(xml)
255255
{
256256
zend_class_entry ce;
257-
INIT_CLASS_ENTRY(ce, "XmlParser", class_XMLParser_methods);
257+
INIT_CLASS_ENTRY(ce, "XmlParser", class_XmlParser_methods);
258258
xml_parser_ce = zend_register_internal_class(&ce);
259259
xml_parser_ce->create_object = xml_parser_create_object;
260260
xml_parser_ce->ce_flags |= ZEND_ACC_FINAL | ZEND_ACC_NO_DYNAMIC_PROPERTIES;

ext/xml/xml.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@ function xml_parser_set_option(XmlParser $parser, int $option, $value): bool {}
6363

6464
function xml_parser_get_option(XmlParser $parser, int $option): string|int {}
6565

66-
final class XMLParser
66+
final class XmlParser
6767
{
6868
}

ext/xml/xml_arginfo.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 591ba6543081654cbf55945d2a446e7039a81372 */
2+
* Stub hash: 7014b171486b2a597f659369a707a592c26b3b2f */
33

44
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_xml_parser_create, 0, 0, XmlParser, 0)
55
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 1, "null")
@@ -134,6 +134,6 @@ static const zend_function_entry ext_functions[] = {
134134
};
135135

136136

137-
static const zend_function_entry class_XMLParser_methods[] = {
137+
static const zend_function_entry class_XmlParser_methods[] = {
138138
ZEND_FE_END
139139
};

0 commit comments

Comments
 (0)