summaryrefslogtreecommitdiff
path: root/ext/spl/spl_array.c
diff options
context:
space:
mode:
authorNuno Lopes <nlopess@php.net>2006-08-11 17:05:23 +0000
committerNuno Lopes <nlopess@php.net>2006-08-11 17:05:23 +0000
commitc45c9748dc76d74c13fe4403d54136c8e6c3956c (patch)
treea805ec89f7a879ae678f08b0dcb49725daaef500 /ext/spl/spl_array.c
parent5b4ecd602812a651e066086e7035023d19e51c2d (diff)
downloadphp-git-c45c9748dc76d74c13fe4403d54136c8e6c3956c.tar.gz
fix #38402: wrong proto for Array*::offsetGet()
Diffstat (limited to 'ext/spl/spl_array.c')
-rwxr-xr-xext/spl/spl_array.c4
1 files 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)
{