File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -277,6 +277,7 @@ private function prepareKey(string &$key)
277
277
* @param int|string $key
278
278
* @return bool
279
279
*/
280
+ #[\ReturnTypeWillChange]
280
281
public function offsetExists ($ key )
281
282
{
282
283
return $ this ->has ($ key );
@@ -298,6 +299,7 @@ public function offsetGet($key)
298
299
*
299
300
* @param mixed $value
300
301
*/
302
+ #[\ReturnTypeWillChange]
301
303
public function offsetSet ($ key , $ value )
302
304
{
303
305
if (is_null ($ key )) {
@@ -310,6 +312,7 @@ public function offsetSet($key, $value)
310
312
/**
311
313
* Delete the given key
312
314
*/
315
+ #[\ReturnTypeWillChange]
313
316
public function offsetUnset ($ key )
314
317
{
315
318
$ this ->delete ($ key );
@@ -338,6 +341,7 @@ public function count($key = null): int
338
341
*
339
342
* @return ArrayIterator
340
343
*/
344
+ #[\ReturnTypeWillChange]
341
345
public function getIterator ()
342
346
{
343
347
return new ArrayIterator ($ this ->_ITEMS );
You can’t perform that action at this time.
0 commit comments