summaryrefslogtreecommitdiff
path: root/Zend/zend_builtin_functions_arginfo.h
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-05-25 17:30:49 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-05-25 17:30:57 +0200
commitb3718430de781647676b5ec2b2b004c310e25e4b (patch)
tree0725481b1f272fca750fd6ac00546c68ce030375 /Zend/zend_builtin_functions_arginfo.h
parentcbf86efc218e203ec692941aab8ab8077ab63f1b (diff)
downloadphp-git-b3718430de781647676b5ec2b2b004c310e25e4b.tar.gz
Annotate internal functions with the mixed type
Closes GH-5618
Diffstat (limited to 'Zend/zend_builtin_functions_arginfo.h')
-rw-r--r--Zend/zend_builtin_functions_arginfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_builtin_functions_arginfo.h b/Zend/zend_builtin_functions_arginfo.h
index 728a76cdee..0fa4ba7f45 100644
--- a/Zend/zend_builtin_functions_arginfo.h
+++ b/Zend/zend_builtin_functions_arginfo.h
@@ -6,7 +6,7 @@ ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_func_num_args, 0, 0, IS_LONG, 0)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO_EX(arginfo_func_get_arg, 0, 0, 1)
+ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_func_get_arg, 0, 1, IS_MIXED, 0)
ZEND_ARG_TYPE_INFO(0, arg_num, IS_LONG, 0)
ZEND_END_ARG_INFO()