@@ -225,6 +225,7 @@ public function setAt($offset, $object)
225225 return $ this ;
226226 }
227227
228+ #[\ReturnTypeWillChange]
228229 /**
229230 * (PHP 5 >= 5.1.0)<br/>
230231 * Count elements of an object
@@ -244,6 +245,7 @@ public function count()
244245 }
245246
246247
248+ #[\ReturnTypeWillChange]
247249 /**
248250 * (PHP 5 >= 5.0.0)<br/>
249251 * Return the current element
@@ -258,6 +260,7 @@ public function current()
258260 return null ;
259261 }
260262
263+ #[\ReturnTypeWillChange]
261264 /**
262265 * (PHP 5 >= 5.0.0)<br/>
263266 * Move forward to next element
@@ -269,6 +272,7 @@ public function next()
269272 $ this ->pos ++;
270273 }
271274
275+ #[\ReturnTypeWillChange]
272276 /**
273277 * (PHP 5 >= 5.0.0)<br/>
274278 * Return the key of the current element
@@ -283,6 +287,7 @@ public function key()
283287 return null ;
284288 }
285289
290+ #[\ReturnTypeWillChange]
286291 /**
287292 * (PHP 5 >= 5.0.0)<br/>
288293 * Checks if current position is valid
@@ -298,6 +303,7 @@ public function valid()
298303 return false ;
299304 }
300305
306+ #[\ReturnTypeWillChange]
301307 /**
302308 * (PHP 5 >= 5.0.0)<br/>
303309 * Rewind the Iterator to the first element
@@ -309,6 +315,7 @@ public function rewind()
309315 $ this ->pos = 0 ;
310316 }
311317
318+ #[\ReturnTypeWillChange]
312319 /**
313320 * (PHP 5 >= 5.0.0)<br/>
314321 * Whether a offset exists
@@ -326,6 +333,7 @@ public function offsetExists($offset)
326333 return isset ($ this ->rawData [$ offset ]) || isset ($ this ->typeData [$ offset ]);
327334 }
328335
336+ #[\ReturnTypeWillChange]
329337 /**
330338 * (PHP 5 >= 5.0.0)<br/>
331339 * Offset to retrieve
@@ -340,6 +348,7 @@ public function offsetGet($offset)
340348 return $ this ->getAt ($ offset );
341349 }
342350
351+ #[\ReturnTypeWillChange]
343352 /**
344353 * (PHP 5 >= 5.0.0)<br/>
345354 * Offset to set
@@ -357,6 +366,7 @@ public function offsetSet($offset, $value)
357366 $ this ->setAt ($ offset , $ value );
358367 }
359368
369+ #[\ReturnTypeWillChange]
360370 /**
361371 * (PHP 5 >= 5.0.0)<br/>
362372 * Offset to unset
0 commit comments