Fix XmlParser classname in stubs

This commit is contained in:
Máté Kocsis 2020-10-09 10:42:43 +02:00
parent 4173f2b3ab
commit 686d6c3dd4
No known key found for this signature in database
GPG key ID: FD055E41728BF310
3 changed files with 4 additions and 4 deletions

View file

@ -254,7 +254,7 @@ static void php_xml_free_wrapper(void *ptr)
PHP_MINIT_FUNCTION(xml)
{
zend_class_entry ce;
INIT_CLASS_ENTRY(ce, "XmlParser", class_XMLParser_methods);
INIT_CLASS_ENTRY(ce, "XmlParser", class_XmlParser_methods);
xml_parser_ce = zend_register_internal_class(&ce);
xml_parser_ce->create_object = xml_parser_create_object;
xml_parser_ce->ce_flags |= ZEND_ACC_FINAL | ZEND_ACC_NO_DYNAMIC_PROPERTIES;

View file

@ -63,6 +63,6 @@ function xml_parser_set_option(XmlParser $parser, int $option, $value): bool {}
function xml_parser_get_option(XmlParser $parser, int $option): string|int {}
final class XMLParser
final class XmlParser
{
}

View file

@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: 591ba6543081654cbf55945d2a446e7039a81372 */
* Stub hash: 7014b171486b2a597f659369a707a592c26b3b2f */
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_xml_parser_create, 0, 0, XmlParser, 0)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 1, "null")
@ -134,6 +134,6 @@ static const zend_function_entry ext_functions[] = {
};
static const zend_function_entry class_XMLParser_methods[] = {
static const zend_function_entry class_XmlParser_methods[] = {
ZEND_FE_END
};