Skip to content

Commit

Permalink
bugfix: add missing ReturnTypeWillChange attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
oxidmod committed Jan 13, 2023
1 parent 394edf4 commit 14032f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/DotArray.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ public function offsetExists($key)
* @param int|string $key
* @return mixed
*/
#[\ReturnTypeWillChange]
public function offsetGet($key)
{
return $this->get($key);
Expand Down Expand Up @@ -356,6 +357,7 @@ public function getIterator()
*
* @return array
*/
#[\ReturnTypeWillChange]
public function jsonSerialize()
{
return $this->_ITEMS;
Expand Down

0 comments on commit 14032f3

Please sign in to comment.