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

index 81ac9843204719a5bbd0503929791f0986220413..137d0cd42ea7d35b0b593698b422f83936e5c1d8 100755 (executable)
@@ -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)
 {