summaryrefslogtreecommitdiff
path: root/ext/spl/examples/recursivedualiterator.inc
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/examples/recursivedualiterator.inc')
-rw-r--r--ext/spl/examples/recursivedualiterator.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/spl/examples/recursivedualiterator.inc b/ext/spl/examples/recursivedualiterator.inc
index cfa3bccbbc..a56984e083 100644
--- a/ext/spl/examples/recursivedualiterator.inc
+++ b/ext/spl/examples/recursivedualiterator.inc
@@ -24,7 +24,7 @@ class RecursiveDualIterator extends DualIterator implements RecursiveIterator
* @param rhs Right Hand Side Iterator
* @param flags iteration flags
*/
- function __construct(RecursiveIterator $lhs, RecursiveIterator $rhs,
+ function __construct(RecursiveIterator $lhs, RecursiveIterator $rhs,
$flags = 0x33 /*DualIterator::DEFAULT_FLAGS*/)
{
parent::__construct($lhs, $rhs, $flags);
@@ -34,10 +34,10 @@ class RecursiveDualIterator extends DualIterator implements RecursiveIterator
*/
function hasChildren()
{
- return $this->getLHS()->hasChildren() && $this->getRHS()->hasChildren();
+ return $this->getLHS()->hasChildren() && $this->getRHS()->hasChildren();
}
- /** @return new RecursiveDualIterator (late binding) for the two inner
+ /** @return new RecursiveDualIterator (late binding) for the two inner
* iterators current children.
*/
function getChildren()