From 9dcd7c99121d98916f0ee38f0624e20e8072dc42 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Thu, 9 Jan 2025 11:27:15 +0100 Subject: [PATCH] ResultSet: Remove manual seek call for php 5.6 support --- src/ResultSet.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ResultSet.php b/src/ResultSet.php index 05117a5..d4a1123 100644 --- a/src/ResultSet.php +++ b/src/ResultSet.php @@ -125,9 +125,6 @@ protected function advance() if (! $this->isCacheDisabled) { $this->cache[$this->generator->key()] = $this->generator->current(); - - // Only required on PHP 5.6, 7+ does it automatically - $this->cache->seek($this->generator->key()); } if ($this->position === null) {