From 14032f3d74ddfc66dcdf2de8ba520b5a6128de99 Mon Sep 17 00:00:00 2001 From: oxidmod Date: Fri, 13 Jan 2023 19:27:52 +0200 Subject: [PATCH] bugfix: add missing ReturnTypeWillChange attributes --- src/DotArray.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/DotArray.php b/src/DotArray.php index b3bb229..6fc92bd 100644 --- a/src/DotArray.php +++ b/src/DotArray.php @@ -289,6 +289,7 @@ public function offsetExists($key) * @param int|string $key * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($key) { return $this->get($key); @@ -356,6 +357,7 @@ public function getIterator() * * @return array */ + #[\ReturnTypeWillChange] public function jsonSerialize() { return $this->_ITEMS;