From 3c0641d996379b8040ab8a0e4c99b3919475cb57 Mon Sep 17 00:00:00 2001 From: Pavel Ruban Date: Thu, 7 May 2020 13:37:20 +0300 Subject: [PATCH] Fix issue with iteration when you never could select the first row as iteratin logic had the bug with 2 next() calls invocations. --- src/XMLReaderIterator.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/XMLReaderIterator.php b/src/XMLReaderIterator.php index 72b6dc0..14be034 100644 --- a/src/XMLReaderIterator.php +++ b/src/XMLReaderIterator.php @@ -68,7 +68,6 @@ public function moveToNextElementByName($name = null) if (!$name || $name === $this->reader->name) { break; } - self::next(); } ;