summaryrefslogtreecommitdiff
path: root/ext/spl/internal
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/internal')
-rwxr-xr-xext/spl/internal/iteratoriterator.inc4
-rwxr-xr-xext/spl/internal/limititerator.inc2
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/spl/internal/iteratoriterator.inc b/ext/spl/internal/iteratoriterator.inc
index c76412ed0..60786927b 100755
--- a/ext/spl/internal/iteratoriterator.inc
+++ b/ext/spl/internal/iteratoriterator.inc
@@ -56,7 +56,7 @@ class IteratorIterator implements OuterIterator
}
else
{
- throw new Exception("Classes that only implement Traversable can be wrapped only after converting class IteratorItaerator into c code");
+ throw new Exception("Classes that only implement Traversable can be wrapped only after converting class IteratorIterator into c code");
}
}
@@ -118,4 +118,4 @@ class IteratorIterator implements OuterIterator
private $iterator;
}
-?> \ No newline at end of file
+?>
diff --git a/ext/spl/internal/limititerator.inc b/ext/spl/internal/limititerator.inc
index b87f3c586..c135e031d 100755
--- a/ext/spl/internal/limititerator.inc
+++ b/ext/spl/internal/limititerator.inc
@@ -32,7 +32,7 @@ class LimitIterator implements OuterIterator
*
* @param it Iterator to limit
* @param offset Offset to first element
- * @param count Maximum number of elements to show or NULL for all
+ * @param count Maximum number of elements to show or -1 for all
*/
function __construct(Iterator $it, $offset = 0, $count = -1)
{