Skip to content

Commit

Permalink
Fixed deprecation messages
Browse files Browse the repository at this point in the history
  • Loading branch information
stollr committed Apr 24, 2024
1 parent 20b3e48 commit bc90435
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ public function offsetExists($id) : bool
*
* @param string | int $id
*
* @return mixed The value of the parameter or an object
*
* @throws UnknownIdentifierException
*/
#[\ReturnTypeWillChange]
Expand Down
3 changes: 3 additions & 0 deletions src/Message/PartChildrenContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ public function offsetExists($offset) : bool
return isset($this->children[$offset]);
}

/**
* @return mixed
*/
#[\ReturnTypeWillChange]
public function offsetGet($offset)
{
Expand Down

0 comments on commit bc90435

Please sign in to comment.