summaryrefslogtreecommitdiff
path: root/ext/json/json_arginfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/json/json_arginfo.h')
-rw-r--r--ext/json/json_arginfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/json/json_arginfo.h b/ext/json/json_arginfo.h
index fa0dcea5ae..9c6f30686a 100644
--- a/ext/json/json_arginfo.h
+++ b/ext/json/json_arginfo.h
@@ -8,7 +8,7 @@ ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_json_decode, 0, 0, 1)
ZEND_ARG_TYPE_INFO(0, json, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, assoc, _IS_BOOL, 0)
+ ZEND_ARG_TYPE_INFO(0, assoc, _IS_BOOL, 1)
ZEND_ARG_TYPE_INFO(0, depth, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, options, IS_LONG, 0)
ZEND_END_ARG_INFO()