Skip to content

Commit ff49e02

Browse files
authored
Merge pull request #237 from stollr/fix_deprecattions
Fixed some deprecation messages
2 parents 20b3e48 + bc90435 commit ff49e02

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/Container.php

+2
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ public function offsetExists($id) : bool
9292
*
9393
* @param string | int $id
9494
*
95+
* @return mixed The value of the parameter or an object
96+
*
9597
* @throws UnknownIdentifierException
9698
*/
9799
#[\ReturnTypeWillChange]

src/Message/PartChildrenContainer.php

+3
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ public function offsetExists($offset) : bool
128128
return isset($this->children[$offset]);
129129
}
130130

131+
/**
132+
* @return mixed
133+
*/
131134
#[\ReturnTypeWillChange]
132135
public function offsetGet($offset)
133136
{

0 commit comments

Comments
 (0)