Skip to content

Commit

Permalink
Merge pull request #2 from oxidmod/bugfix/fix-internal-interfaces-met…
Browse files Browse the repository at this point in the history
…hods-compatibility

bugfix: add missing ReturnTypeWillChange attributes
  • Loading branch information
MoamenEltouny committed Jan 14, 2023
2 parents 394edf4 + 14032f3 commit a557390
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 a557390

Please sign in to comment.