From 9fe1d6351fd6a73e92e9408eb379295652514e1d Mon Sep 17 00:00:00 2001 From: KAI Date: Thu, 7 Sep 2023 07:32:03 +0800 Subject: [PATCH] Dev : PHP Deprecated problem caused by modifying FakeMap.php. (#42) --- src/FakeMap.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/FakeMap.php b/src/FakeMap.php index e084334..e18306e 100644 --- a/src/FakeMap.php +++ b/src/FakeMap.php @@ -60,6 +60,7 @@ public static function parse($input): ?self ); } + #[\ReturnTypeWillChange] /** * @return mixed */ @@ -73,6 +74,7 @@ public function next(): void next($this->_map); } + #[\ReturnTypeWillChange] /** * @return bool|float|int|string|null */ @@ -103,6 +105,7 @@ public function offsetExists($offset): bool return isset($this->_map[$offset]) || \array_key_exists($offset, $this->_map); } + #[\ReturnTypeWillChange] /** * @param mixed $offset * @return mixed