Skip to content

Commit a557390

Browse files
Merge pull request #2 from oxidmod/bugfix/fix-internal-interfaces-methods-compatibility
bugfix: add missing ReturnTypeWillChange attributes
2 parents 394edf4 + 14032f3 commit a557390

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/DotArray.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ public function offsetExists($key)
289289
* @param int|string $key
290290
* @return mixed
291291
*/
292+
#[\ReturnTypeWillChange]
292293
public function offsetGet($key)
293294
{
294295
return $this->get($key);
@@ -356,6 +357,7 @@ public function getIterator()
356357
*
357358
* @return array
358359
*/
360+
#[\ReturnTypeWillChange]
359361
public function jsonSerialize()
360362
{
361363
return $this->_ITEMS;

0 commit comments

Comments
 (0)