Skip to content

Commit

Permalink
Fix deprecated error
Browse files Browse the repository at this point in the history
  • Loading branch information
eXorus committed Apr 16, 2022
1 parent cad0267 commit 81d84bb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/MimePart.php
Expand Up @@ -80,6 +80,7 @@ public function setPart(array $part)
/**
* ArrayAccess
*/
#[\ReturnTypeWillChange]
public function offsetSet($offset, $value)
{
if (is_null($offset)) {
Expand All @@ -92,6 +93,7 @@ public function offsetSet($offset, $value)
/**
* ArrayAccess
*/
#[\ReturnTypeWillChange]
public function offsetExists($offset)
{
return isset($this->part[$offset]);
Expand All @@ -100,6 +102,7 @@ public function offsetExists($offset)
/**
* ArrayAccess
*/
#[\ReturnTypeWillChange]
public function offsetUnset($offset)
{
unset($this->part[$offset]);
Expand All @@ -108,6 +111,7 @@ public function offsetUnset($offset)
/**
* ArrayAccess
*/
#[\ReturnTypeWillChange]
public function offsetGet($offset)
{
return isset($this->part[$offset]) ? $this->part[$offset] : null;
Expand Down

0 comments on commit 81d84bb

Please sign in to comment.