Skip to content

Commit 9fe1d63

Browse files
authored
Dev : PHP Deprecated problem caused by modifying FakeMap.php. (#42)
1 parent 2fa151a commit 9fe1d63

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/FakeMap.php

+3
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public static function parse($input): ?self
6060
);
6161
}
6262

63+
#[\ReturnTypeWillChange]
6364
/**
6465
* @return mixed
6566
*/
@@ -73,6 +74,7 @@ public function next(): void
7374
next($this->_map);
7475
}
7576

77+
#[\ReturnTypeWillChange]
7678
/**
7779
* @return bool|float|int|string|null
7880
*/
@@ -103,6 +105,7 @@ public function offsetExists($offset): bool
103105
return isset($this->_map[$offset]) || \array_key_exists($offset, $this->_map);
104106
}
105107

108+
#[\ReturnTypeWillChange]
106109
/**
107110
* @param mixed $offset
108111
* @return mixed

0 commit comments

Comments
 (0)