Skip to content

Commit 9f71a02

Browse files
committed
SW-26772 - Resolve deprecations for PHPv8.1 compatibility
1 parent daeeb20 commit 9f71a02

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

recovery/common/src/DumpIterator.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ public function __destruct()
8686
*
8787
* @throws OutOfBoundsException
8888
*/
89+
#[\ReturnTypeWillChange]
8990
public function seek($position)
9091
{
9192
$this->rewind();
@@ -108,6 +109,7 @@ public function count()
108109
return $this->count;
109110
}
110111

112+
#[\ReturnTypeWillChange]
111113
public function rewind()
112114
{
113115
rewind($this->stream);
@@ -131,6 +133,7 @@ public function key()
131133
return $this->position;
132134
}
133135

136+
#[\ReturnTypeWillChange]
134137
public function next()
135138
{
136139
++$this->position;

0 commit comments

Comments
 (0)