diff options
author | Alexander Miertsch <alexander.miertsch@sixt.com> | 2015-01-31 12:06:47 +0100 |
---|---|---|
committer | Alexander Miertsch <alexander.miertsch@sixt.com> | 2015-01-31 12:06:47 +0100 |
commit | 96ef10f5c77251a807c5acc73418689bf6550fb1 (patch) | |
tree | 69ce6f7f214e2b95cc626478b016614c1c0919ad /src | |
parent | 3cf545c4c170aacc9ddd56f93fb7f6c6bc4cd811 (diff) | |
download | csv-96ef10f5c77251a807c5acc73418689bf6550fb1.zip csv-96ef10f5c77251a807c5acc73418689bf6550fb1.tar.gz csv-96ef10f5c77251a807c5acc73418689bf6550fb1.tar.bz2 |
Use parent methods in MapIterator
Diffstat (limited to 'src')
-rw-r--r-- | src/Iterator/MapIterator.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Iterator/MapIterator.php b/src/Iterator/MapIterator.php index 9077a3e..791057e 100644 --- a/src/Iterator/MapIterator.php +++ b/src/Iterator/MapIterator.php @@ -52,6 +52,6 @@ class MapIterator extends IteratorIterator $iterator = $this->getInnerIterator(); $callable = $this->callable; - return $callable($iterator->current(), $iterator->key(), $iterator); + return $callable(parent::current(), parent::key(), $iterator); } } |