@@ -64,6 +64,7 @@ public function __construct(array $initial = null)
64
64
*
65
65
* @access public
66
66
*/
67
+ #[\ReturnTypeWillChange]
67
68
public function offsetSet ($ offset , $ value )
68
69
{
69
70
if ($ offset === null ) {
@@ -89,6 +90,7 @@ public function offsetSet($offset, $value)
89
90
*
90
91
* @access public
91
92
*/
93
+ #[\ReturnTypeWillChange]
92
94
public function offsetExists ($ offset )
93
95
{
94
96
return (bool ) array_key_exists (strtolower ($ offset ), $ this ->data );
@@ -108,6 +110,7 @@ public function offsetExists($offset)
108
110
*
109
111
* @access public
110
112
*/
113
+ #[\ReturnTypeWillChange]
111
114
public function offsetUnset ($ offset )
112
115
{
113
116
$ offsetlower = strtolower ($ offset );
@@ -129,6 +132,7 @@ public function offsetUnset($offset)
129
132
*
130
133
* @access public
131
134
*/
135
+ #[\ReturnTypeWillChange]
132
136
public function offsetGet ($ offset )
133
137
{
134
138
$ offsetlower = strtolower ($ offset );
@@ -146,6 +150,7 @@ public function offsetGet($offset)
146
150
*
147
151
* @access public
148
152
*/
153
+ #[\ReturnTypeWillChange]
149
154
public function count ()
150
155
{
151
156
return (int ) count ($ this ->data );
@@ -162,6 +167,7 @@ public function count()
162
167
*
163
168
* @access public
164
169
*/
170
+ #[\ReturnTypeWillChange]
165
171
public function current ()
166
172
{
167
173
return current ($ this ->data );
@@ -178,6 +184,7 @@ public function current()
178
184
*
179
185
* @access public
180
186
*/
187
+ #[\ReturnTypeWillChange]
181
188
public function next ()
182
189
{
183
190
next ($ this ->data );
@@ -194,6 +201,7 @@ public function next()
194
201
*
195
202
* @access public
196
203
*/
204
+ #[\ReturnTypeWillChange]
197
205
public function key ()
198
206
{
199
207
$ key = key ($ this ->data );
@@ -209,6 +217,7 @@ public function key()
209
217
*
210
218
* @access public
211
219
*/
220
+ #[\ReturnTypeWillChange]
212
221
public function valid ()
213
222
{
214
223
return (bool ) (key ($ this ->data ) !== null );
@@ -225,6 +234,7 @@ public function valid()
225
234
*
226
235
* @access public
227
236
*/
237
+ #[\ReturnTypeWillChange]
228
238
public function rewind ()
229
239
{
230
240
reset ($ this ->data );
0 commit comments