@@ -94,13 +94,15 @@ protected function _normalize()
9494
9595 /**
9696 */
97+ #[ReturnTypeWillChange]
9798 public function offsetExists ($ offset )
9899 {
99100 return (bool )$ this [$ offset ];
100101 }
101102
102103 /**
103104 */
105+ #[ReturnTypeWillChange]
104106 public function offsetGet ($ offset )
105107 {
106108 if (isset ($ this ->_optional [$ offset ])) {
@@ -116,6 +118,7 @@ public function offsetGet($offset)
116118
117119 /**
118120 */
121+ #[ReturnTypeWillChange]
119122 public function offsetSet ($ offset , $ value )
120123 {
121124 $ this ->_optional [$ offset ] = $ value ;
@@ -124,6 +127,7 @@ public function offsetSet($offset, $value)
124127
125128 /**
126129 */
130+ #[ReturnTypeWillChange]
127131 public function offsetUnset ($ offset )
128132 {
129133 unset($ this ->_optional [$ offset ]);
@@ -140,6 +144,7 @@ public function offsetUnset($offset)
140144
141145 /**
142146 */
147+ #[ReturnTypeWillChange]
143148 public function current ()
144149 {
145150 $ val = current ($ this ->_required );
@@ -150,6 +155,7 @@ public function current()
150155
151156 /**
152157 */
158+ #[ReturnTypeWillChange]
153159 public function key ()
154160 {
155161 $ key = key ($ this ->_required );
@@ -160,6 +166,7 @@ public function key()
160166
161167 /**
162168 */
169+ #[ReturnTypeWillChange]
163170 public function next ()
164171 {
165172 if (key ($ this ->_required ) === null ) {
@@ -171,6 +178,7 @@ public function next()
171178
172179 /**
173180 */
181+ #[ReturnTypeWillChange]
174182 public function rewind ()
175183 {
176184 reset ($ this ->_required );
@@ -179,6 +187,7 @@ public function rewind()
179187
180188 /**
181189 */
190+ #[ReturnTypeWillChange]
182191 public function valid ()
183192 {
184193 return ((key ($ this ->_required ) !== null ) ||
0 commit comments