Skip to content

Commit

Permalink
Fix PHP 8.1 issues (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Dec 2, 2021
1 parent 7131640 commit 4afda9e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/AbstractUser.php
Expand Up @@ -143,6 +143,7 @@ public function map(array $attributes)
* @param string $offset
* @return bool
*/
#[\ReturnTypeWillChange]
public function offsetExists($offset)
{
return array_key_exists($offset, $this->user);
Expand All @@ -154,6 +155,7 @@ public function offsetExists($offset)
* @param string $offset
* @return mixed
*/
#[\ReturnTypeWillChange]
public function offsetGet($offset)
{
return $this->user[$offset];
Expand All @@ -166,6 +168,7 @@ public function offsetGet($offset)
* @param mixed $value
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetSet($offset, $value)
{
$this->user[$offset] = $value;
Expand All @@ -177,6 +180,7 @@ public function offsetSet($offset, $value)
* @param string $offset
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetUnset($offset)
{
unset($this->user[$offset]);
Expand Down

0 comments on commit 4afda9e

Please sign in to comment.