Skip to content

Commit e617679

Browse files
sasezakismalyshev
authored andcommitted
fix invalid variable name at ext/spl/internal/multipleiterator.inc (key() method, too)
1 parent 76775a3 commit e617679

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/spl/internal/multipleiterator.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ class MultipleIterator implements Iterator
205205
$retval = array();
206206
foreach($this->iterators as $iter)
207207
{
208-
if ($it->valid())
208+
if ($iter->valid())
209209
{
210210
$retval[] = $iter->key();
211211
}

0 commit comments

Comments
 (0)