summaryrefslogtreecommitdiff
path: root/ext/gd/gd_arginfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/gd_arginfo.h')
-rw-r--r--ext/gd/gd_arginfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/gd_arginfo.h b/ext/gd/gd_arginfo.h
index 0d8554864d..e829e3a4bc 100644
--- a/ext/gd/gd_arginfo.h
+++ b/ext/gd/gd_arginfo.h
@@ -483,7 +483,7 @@ ZEND_END_ARG_INFO()
#endif
#if defined(HAVE_GD_FREETYPE)
-ZEND_BEGIN_ARG_INFO_EX(arginfo_imagettftext, 0, 0, 8)
+ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_imagettftext, 0, 8, MAY_BE_ARRAY|MAY_BE_FALSE)
ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
ZEND_ARG_TYPE_INFO(0, size, IS_DOUBLE, 0)
ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0)