Skip to content

Commit

Permalink
SW-26772 - Resolve deprecations for PHPv8.1 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
philipreinken committed Jun 22, 2022
1 parent daeeb20 commit 9f71a02
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recovery/common/src/DumpIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public function __destruct()
*
* @throws OutOfBoundsException
*/
#[\ReturnTypeWillChange]
public function seek($position)
{
$this->rewind();
Expand All @@ -108,6 +109,7 @@ public function count()
return $this->count;
}

#[\ReturnTypeWillChange]
public function rewind()
{
rewind($this->stream);
Expand All @@ -131,6 +133,7 @@ public function key()
return $this->position;
}

#[\ReturnTypeWillChange]
public function next()
{
++$this->position;
Expand Down

0 comments on commit 9f71a02

Please sign in to comment.