]> granicus.if.org Git - php/commitdiff
MFB5.2: fix #38402 (wrong proto for Array*::offsetGet())
authorNuno Lopes <nlopess@php.net>
Fri, 11 Aug 2006 17:06:19 +0000 (17:06 +0000)
committerNuno Lopes <nlopess@php.net>
Fri, 11 Aug 2006 17:06:19 +0000 (17:06 +0000)
ext/spl/spl_array.c

index 8185d94611af0088fed7a2895d3a8c74797a1208..df249663d76a247a08f8ca1e3a702f787b49d761 100755 (executable)
@@ -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)
 {