@@ -196,23 +196,27 @@ final protected function decodeCollection(array $val)
196
196
return $ val ;
197
197
}
198
198
199
+ #[\ReturnTypeWillChange]
199
200
public function offsetExists ($ offset )
200
201
{
201
202
return isset ($ this ->data [$ offset ]);
202
203
}
203
204
205
+ #[\ReturnTypeWillChange]
204
206
public function offsetGet ($ offset )
205
207
{
206
208
$ value = isset ($ this ->data [$ offset ]) ? $ this ->data [$ offset ] : null ;
207
209
208
210
return is_array ($ value ) ? $ value [1 ] : $ value ;
209
211
}
210
212
213
+ #[\ReturnTypeWillChange]
211
214
public function offsetSet ($ offset , $ value )
212
215
{
213
216
$ this ->setValue ($ value , null , $ offset );
214
217
}
215
218
219
+ #[\ReturnTypeWillChange]
216
220
public function offsetUnset ($ offset )
217
221
{
218
222
unset($ this ->data [$ offset ]);
@@ -467,26 +471,31 @@ final public static function getDataTypeForSymbol($symbol)
467
471
return $ symbols [$ symbol ];
468
472
}
469
473
474
+ #[\ReturnTypeWillChange]
470
475
public function current ()
471
476
{
472
477
return current ($ this ->data );
473
478
}
474
479
480
+ #[\ReturnTypeWillChange]
475
481
public function key ()
476
482
{
477
483
return key ($ this ->data );
478
484
}
479
485
486
+ #[\ReturnTypeWillChange]
480
487
public function next ()
481
488
{
482
489
next ($ this ->data );
483
490
}
484
491
492
+ #[\ReturnTypeWillChange]
485
493
public function rewind ()
486
494
{
487
495
reset ($ this ->data );
488
496
}
489
497
498
+ #[\ReturnTypeWillChange]
490
499
public function valid ()
491
500
{
492
501
return key ($ this ->data ) !== null ;
0 commit comments