diff options
Diffstat (limited to 'ext/spl/internal/splobjectstorage.inc')
-rw-r--r-- | ext/spl/internal/splobjectstorage.inc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/spl/internal/splobjectstorage.inc b/ext/spl/internal/splobjectstorage.inc index ffc6c99488..f27da4e001 100644 --- a/ext/spl/internal/splobjectstorage.inc +++ b/ext/spl/internal/splobjectstorage.inc @@ -31,21 +31,21 @@ class SplObjectStorage implements Iterator, Countable, ArrayAccess { rewind($this->storage); } - + /** @return whether iterator is valid */ function valid() { return key($this->storage) !== false; } - + /** @return current key */ function key() { return $this->index; } - + /** @return current object */ function current() @@ -53,7 +53,7 @@ class SplObjectStorage implements Iterator, Countable, ArrayAccess $element = current($this->storage); return $element ? $element[0] : NULL } - + /** @return get current object's associated information * @since 5.3.0 */ @@ -62,7 +62,7 @@ class SplObjectStorage implements Iterator, Countable, ArrayAccess $element = current($this->storage); return $element ? $element[1] : NULL } - + /** @return set current object's associated information * @since 5.3.0 */ @@ -72,7 +72,7 @@ class SplObjectStorage implements Iterator, Countable, ArrayAccess $this->storage[$this->index][1] = $inf; } } - + /** Forward to next element */ function next() |