Skip to content

Commit ee7decb

Browse files
committed
Revert "Add type info for spl_autoload_register"
This reverts commit ad72872. Revert the change for now, probably needs better handling with account to BC or joined with exceptions-in-engine RFC.
1 parent 41e3fdb commit ee7decb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/spl/php_spl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_spl_autoload_call, 0, 0, 1)
866866
ZEND_END_ARG_INFO()
867867

868868
ZEND_BEGIN_ARG_INFO_EX(arginfo_spl_autoload_register, 0, 0, 0)
869-
ZEND_ARG_TYPE_INFO(0, autoload_function, IS_CALLABLE, 0)
869+
ZEND_ARG_INFO(0, autoload_function)
870870
ZEND_ARG_INFO(0, throw)
871871
ZEND_ARG_INFO(0, prepend)
872872
ZEND_END_ARG_INFO()

0 commit comments

Comments
 (0)