From: Nuno Lopes Date: Fri, 11 Aug 2006 17:05:23 +0000 (+0000) Subject: fix #38402: wrong proto for Array*::offsetGet() X-Git-Tag: php-5.2.0RC2~48 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c45c9748dc76d74c13fe4403d54136c8e6c3956c;p=php fix #38402: wrong proto for Array*::offsetGet() --- diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c index 81ac984320..137d0cd42e 100755 --- a/ext/spl/spl_array.c +++ b/ext/spl/spl_array.c @@ -485,8 +485,8 @@ SPL_METHOD(Array, offsetExists) RETURN_BOOL(spl_array_has_dimension_ex(0, getThis(), index, 1 TSRMLS_CC)); } /* }}} */ -/* {{{ proto bool ArrayObject::offsetGet(mixed $index) - proto bool ArrayIterator::offsetGet(mixed $index) +/* {{{ proto mixed ArrayObject::offsetGet(mixed $index) + proto mixed ArrayIterator::offsetGet(mixed $index) Returns the value at the specified $index. */ SPL_METHOD(Array, offsetGet) {