Skip to content

Commit

Permalink
Merge branch 'sw-26772/resolve-deprecations' into '5.7'
Browse files Browse the repository at this point in the history
SW-26772 - Resolve deprecations for PHPv8.1 compatibility

See merge request shopware/5/product/shopware!845
  • Loading branch information
mitelg committed Jun 22, 2022
2 parents daeeb20 + 9f71a02 commit a8b9364
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 a8b9364

Please sign in to comment.