summaryrefslogtreecommitdiff
path: root/ext/spl/internal/limititerator.inc
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/internal/limititerator.inc')
-rw-r--r--ext/spl/internal/limititerator.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/spl/internal/limititerator.inc b/ext/spl/internal/limititerator.inc
index c5bddead78..00c4122872 100644
--- a/ext/spl/internal/limititerator.inc
+++ b/ext/spl/internal/limititerator.inc
@@ -47,7 +47,7 @@ class LimitIterator implements OuterIterator
$this->count = $count;
$this->pos = 0;
}
-
+
/** Seek to specified position
* @param position offset to seek to (relative to beginning not offset
* specified in constructor).
@@ -78,14 +78,14 @@ class LimitIterator implements OuterIterator
$this->pos = 0;
$this->seek($this->offset);
}
-
+
/** @return whether iterator is valid
*/
function valid() {
return ($this->count == -1 || $this->pos < $this->offset + $this->count)
&& $this->it->valid();
}
-
+
/** @return current key
*/
function key() {
@@ -105,7 +105,7 @@ class LimitIterator implements OuterIterator
$this->pos++;
}
- /** @return current position relative to zero (not to offset specified in
+ /** @return current position relative to zero (not to offset specified in
* constructor).
*/
function getPosition() {
@@ -114,7 +114,7 @@ class LimitIterator implements OuterIterator
/**
* @return The inner iterator
- */
+ */
function getInnerIterator()
{
return $this->it;