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 committed Jan 9, 2025
1 parent 832d9ff commit 7684a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ResultSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ protected function advance()
$this->cache[$this->generator->key()] = $this->generator->current();

// Only required on PHP 5.6, 7+ does it automatically
$this->cache->seek($this->generator->key());
// $this->cache->seek($this->generator->key());
}

if ($this->position === null) {
Expand Down

0 comments on commit 7684a24

Please sign in to comment.