summaryrefslogtreecommitdiff
path: root/ext/xml/xml_arginfo.h
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-04-03 16:49:11 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-04-03 17:59:30 +0200
commit2bcc4ab8f4422f319b509b8fd5bd251d9326c604 (patch)
tree689f8ba253cc8b4b43454ce70270e0cd0ae69e40 /ext/xml/xml_arginfo.h
parentd2c92d7fd326b011b509b6daedee5f4e035fcae1 (diff)
downloadphp-git-2bcc4ab8f4422f319b509b8fd5bd251d9326c604.tar.gz
Verify that all stubs have a return type
Diffstat (limited to 'ext/xml/xml_arginfo.h')
-rw-r--r--ext/xml/xml_arginfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/xml/xml_arginfo.h b/ext/xml/xml_arginfo.h
index 06f6fde985..463ad8b9eb 100644
--- a/ext/xml/xml_arginfo.h
+++ b/ext/xml/xml_arginfo.h
@@ -76,7 +76,7 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xml_parser_set_option, 0, 3, _IS
ZEND_ARG_INFO(0, value)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO_EX(arginfo_xml_parser_get_option, 0, 0, 2)
+ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_xml_parser_get_option, 0, 2, MAY_BE_STRING|MAY_BE_LONG|MAY_BE_FALSE)
ZEND_ARG_OBJ_INFO(0, parser, XmlParser, 0)
ZEND_ARG_TYPE_INFO(0, option, IS_LONG, 0)
ZEND_END_ARG_INFO()