com php-src: Add type info for spl_autoload_register: e xt/spl/php_spl.c
| From: | Levi Morrison | Date: | Sun, 28 Dec 2014 17:16:25 +0000 |
| Subject: | com php-src: Add type info for spl_autoload_register: e xt/spl/php_spl.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-83905@lists.php.net to get a copy of this message | ||
Commit: ad728725cb8e899a8415aa81db48825fac25e0d5
Author: Levi Morrison <levim@php.net> Sun, 28 Dec 2014 10:16:14 -0700
Parents: 68dd8e8bd7c994dd7a127535d6b4cd22e8c1fc28
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ad728725cb8e899a8415aa81db48825fac25e0d5
Log:
Add type info for spl_autoload_register
Changed paths:
M ext/spl/php_spl.c
Diff:
diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c
index 2ea8616..a818958 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()