Skip to content

Commit

Permalink
ResultSet: Remove manual seek call for php 5.6 support
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhwinder33445 authored and nilmerg committed Jan 13, 2025
1 parent 832d9ff commit a26d9ae
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/ResultSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a26d9ae

Please sign in to comment.