summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLevi Morrison <levim@php.net>2014-12-28 10:16:14 -0700
committerLevi Morrison <levim@php.net>2014-12-28 10:16:25 -0700
commitad728725cb8e899a8415aa81db48825fac25e0d5 (patch)
tree1d7b37937c559e69c5c1af1a320e763e377076e4
parent68dd8e8bd7c994dd7a127535d6b4cd22e8c1fc28 (diff)
downloadphp-git-ad728725cb8e899a8415aa81db48825fac25e0d5.tar.gz
Add type info for spl_autoload_register
-rw-r--r--ext/spl/php_spl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c
index 2ea8616dd0..a818958f36 100644
--- a/ext/spl/php_spl.c
+++ b/ext/spl/php_spl.c
@@ -866,7 +866,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_spl_autoload_call, 0, 0, 1)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_spl_autoload_register, 0, 0, 0)
- ZEND_ARG_INFO(0, autoload_function)
+ ZEND_ARG_TYPE_INFO(0, autoload_function, IS_CALLABLE, 0)
ZEND_ARG_INFO(0, throw)
ZEND_ARG_INFO(0, prepend)
ZEND_END_ARG_INFO()