From 70923e70118971caa03f280ae17e26d2d557479e Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Fri, 11 Aug 2006 17:06:19 +0000 Subject: [PATCH] MFB5.2: 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 8185d94611..df249663d7 100755 --- a/ext/spl/spl_array.c +++ b/ext/spl/spl_array.c @@ -490,8 +490,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