From 9f71a02dbcc1ea58b648e6e45e206edf54d9c314 Mon Sep 17 00:00:00 2001 From: Philip Gatzka Date: Wed, 22 Jun 2022 14:20:03 +0200 Subject: [PATCH] SW-26772 - Resolve deprecations for PHPv8.1 compatibility --- recovery/common/src/DumpIterator.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recovery/common/src/DumpIterator.php b/recovery/common/src/DumpIterator.php index fd5f798cf97..fd63ea1f54b 100644 --- a/recovery/common/src/DumpIterator.php +++ b/recovery/common/src/DumpIterator.php @@ -86,6 +86,7 @@ public function __destruct() * * @throws OutOfBoundsException */ + #[\ReturnTypeWillChange] public function seek($position) { $this->rewind(); @@ -108,6 +109,7 @@ public function count() return $this->count; } + #[\ReturnTypeWillChange] public function rewind() { rewind($this->stream); @@ -131,6 +133,7 @@ public function key() return $this->position; } + #[\ReturnTypeWillChange] public function next() { ++$this->position;