File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -277,6 +277,7 @@ private function prepareKey(string &$key)
277277 * @param int|string $key
278278 * @return bool
279279 */
280+ #[\ReturnTypeWillChange]
280281 public function offsetExists ($ key )
281282 {
282283 return $ this ->has ($ key );
@@ -298,6 +299,7 @@ public function offsetGet($key)
298299 *
299300 * @param mixed $value
300301 */
302+ #[\ReturnTypeWillChange]
301303 public function offsetSet ($ key , $ value )
302304 {
303305 if (is_null ($ key )) {
@@ -310,6 +312,7 @@ public function offsetSet($key, $value)
310312 /**
311313 * Delete the given key
312314 */
315+ #[\ReturnTypeWillChange]
313316 public function offsetUnset ($ key )
314317 {
315318 $ this ->delete ($ key );
@@ -338,6 +341,7 @@ public function count($key = null): int
338341 *
339342 * @return ArrayIterator
340343 */
344+ #[\ReturnTypeWillChange]
341345 public function getIterator ()
342346 {
343347 return new ArrayIterator ($ this ->_ITEMS );
You can’t perform that action at this time.
0 commit comments