From: Nuno Lopes Date: Fri, 11 Aug 2006 17:06:19 +0000 (+0000) Subject: MFB5.2: fix #38402 (wrong proto for Array*::offsetGet()) X-Git-Tag: RELEASE_1_0_0RC1~1987 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=70923e70118971caa03f280ae17e26d2d557479e;p=php MFB5.2: fix #38402 (wrong proto for Array*::offsetGet()) --- 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) {