Skip to content

Commit

Permalink
Prevent PHP 8.1+ deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazzap authored Aug 24, 2024
2 parents ee3e747 + 6bd02b9 commit 81a1f2f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/RequestGlobalsContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public function __construct()
* @param mixed $offset
* @return bool
*/
#[\ReturnTypeWillChange]
public function offsetExists($offset)
{
return $this->context->offsetExists($offset);
Expand All @@ -61,6 +62,7 @@ public function offsetExists($offset)
* @param mixed $offset
* @return mixed
*/
#[\ReturnTypeWillChange]
public function offsetGet($offset)
{
return $this->context->offsetGet($offset);
Expand All @@ -72,6 +74,7 @@ public function offsetGet($offset)
* @param mixed $offset
* @param mixed $value
*/
#[\ReturnTypeWillChange]
public function offsetSet($offset, $value)
{
$this->context->offsetSet($offset, $value);
Expand All @@ -82,6 +85,7 @@ public function offsetSet($offset, $value)
*
* @param mixed $offset
*/
#[\ReturnTypeWillChange]
public function offsetUnset($offset)
{
$this->context->offsetUnset($offset);
Expand Down

0 comments on commit 81a1f2f

Please sign in to comment.