File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -288,22 +288,23 @@ public function sort(Closure $closure)
288288 return $ this ;
289289 }
290290
291- public function offsetExists (mixed $ offset ): bool
291+ public function offsetExists ($ offset ): bool
292292 {
293293 return isset ($ this ->data [$ offset ]);
294294 }
295295
296- public function offsetGet (mixed $ offset ): mixed
296+ #[\ReturnTypeWillChange]
297+ public function offsetGet ($ offset )
297298 {
298299 return isset ($ this ->data [$ offset ]) ? $ this ->data [$ offset ] : null ;
299300 }
300301
301- public function offsetSet (mixed $ offset , mixed $ value ): void
302+ public function offsetSet ($ offset , $ value ): void
302303 {
303304 $ this ->data [$ offset ] = $ value ;
304305 }
305306
306- public function offsetUnset (mixed $ offset ): void
307+ public function offsetUnset ($ offset ): void
307308 {
308309 unset($ this ->data [$ offset ]);
309310 }
You can’t perform that action at this time.
0 commit comments