From: Felipe Pena Date: Tue, 1 Mar 2011 00:13:23 +0000 (+0000) Subject: - Fixed SplObjectStorage::offsetSet arginfo, reported in bug #54118 X-Git-Tag: php-5.4.0alpha1~191^2~192 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18097605b7824c4d040c15f327ab613b5838b137;p=php - Fixed SplObjectStorage::offsetSet arginfo, reported in bug #54118 --- diff --git a/ext/spl/spl_observer.c b/ext/spl/spl_observer.c index 698ad22d76..f1a0f3161a 100755 --- a/ext/spl/spl_observer.c +++ b/ext/spl/spl_observer.c @@ -956,11 +956,6 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_offsetGet, 0, 0, 1) ZEND_ARG_INFO(0, object) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_offsetSet, 0, 0, 2) - ZEND_ARG_INFO(0, object) - ZEND_ARG_INFO(0, info) -ZEND_END_ARG_INFO() - ZEND_BEGIN_ARG_INFO(arginfo_splobject_void, 0) ZEND_END_ARG_INFO() @@ -987,7 +982,7 @@ static const zend_function_entry spl_funcs_SplObjectStorage[] = { SPL_ME(SplObjectStorage, serialize, arginfo_splobject_void,0) /* ArrayAccess */ SPL_MA(SplObjectStorage, offsetExists, SplObjectStorage, contains, arginfo_offsetGet, 0) - SPL_MA(SplObjectStorage, offsetSet, SplObjectStorage, attach, arginfo_offsetSet, 0) + SPL_MA(SplObjectStorage, offsetSet, SplObjectStorage, attach, arginfo_attach, 0) SPL_MA(SplObjectStorage, offsetUnset, SplObjectStorage, detach, arginfo_offsetGet, 0) SPL_ME(SplObjectStorage, offsetGet, arginfo_offsetGet, 0) {NULL, NULL, NULL}