summaryrefslogtreecommitdiff
path: root/ext/mbstring/mbstring_arginfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mbstring/mbstring_arginfo.h')
-rw-r--r--ext/mbstring/mbstring_arginfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mbstring/mbstring_arginfo.h b/ext/mbstring/mbstring_arginfo.h
index bb902af837..f454cc91e8 100644
--- a/ext/mbstring/mbstring_arginfo.h
+++ b/ext/mbstring/mbstring_arginfo.h
@@ -124,7 +124,7 @@ ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_mb_detect_encoding, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
ZEND_ARG_TYPE_INFO(0, str, IS_STRING, 0)
- ZEND_ARG_INFO(0, encoding_list)
+ ZEND_ARG_TYPE_MASK(0, encoding_list, MAY_BE_ARRAY|MAY_BE_STRING|MAY_BE_NULL)
ZEND_ARG_TYPE_INFO(0, strict, _IS_BOOL, 0)
ZEND_END_ARG_INFO()