summaryrefslogtreecommitdiff
path: root/ext/spl/tests/iterator_002.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/iterator_002.phpt')
-rw-r--r--ext/spl/tests/iterator_002.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/spl/tests/iterator_002.phpt b/ext/spl/tests/iterator_002.phpt
index 527fe6b776..61765421f1 100644
--- a/ext/spl/tests/iterator_002.phpt
+++ b/ext/spl/tests/iterator_002.phpt
@@ -9,7 +9,7 @@ class RecursiceArrayIterator extends ArrayIterator implements RecursiveIterator
{
return is_array($this->current());
}
-
+
function getChildren()
{
return new RecursiceArrayIterator($this->current());
@@ -22,12 +22,12 @@ class CrashIterator extends FilterIterator implements RecursiveIterator
{
return true;
}
-
+
function hasChildren()
{
return $this->getInnerIterator()->hasChildren();
}
-
+
function getChildren()
{
return new RecursiceArrayIterator($this->getInnerIterator()->current());