From c45c9748dc76d74c13fe4403d54136c8e6c3956c Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Fri, 11 Aug 2006 17:05:23 +0000 Subject: [PATCH] fix #38402: wrong proto for Array*::offsetGet() --- ext/spl/spl_array.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.50.1