@@ -111,6 +111,7 @@ public function getRawData()
111
111
*
112
112
* @return boolean
113
113
*/
114
+ #[\ReturnTypeWillChange] // temporarily suppress the type check of php 8.x
114
115
public function offsetExists ($ offset )
115
116
{
116
117
$ key = self ::normalizeKey ($ offset );
@@ -122,6 +123,7 @@ public function offsetExists($offset)
122
123
*
123
124
* @return string|null
124
125
*/
126
+ #[\ReturnTypeWillChange] // temporarily suppress the type check of php 8.x
125
127
public function offsetGet ($ offset )
126
128
{
127
129
$ key = self ::normalizeKey ($ offset );
@@ -138,6 +140,7 @@ public function offsetGet($offset)
138
140
*
139
141
* @return void
140
142
*/
143
+ #[\ReturnTypeWillChange] // temporarily suppress the type check of php 8.x
141
144
public function offsetSet ($ offset , $ value )
142
145
{
143
146
$ key = self ::normalizeKey ($ offset );
@@ -151,6 +154,7 @@ public function offsetSet($offset, $value)
151
154
/**
152
155
* @return void
153
156
*/
157
+ #[\ReturnTypeWillChange] // temporarily suppress the type check of php 8.x
154
158
public function offsetUnset ($ offset )
155
159
{
156
160
$ key = self ::normalizeKey ($ offset );
@@ -160,6 +164,7 @@ public function offsetUnset($offset)
160
164
/**
161
165
* @return \ArrayIterator
162
166
*/
167
+ #[\ReturnTypeWillChange] // temporarily suppress the type check of php 8.x
163
168
public function getIterator ()
164
169
{
165
170
$ arr = array ();
@@ -172,6 +177,7 @@ public function getIterator()
172
177
/**
173
178
* @return int
174
179
*/
180
+ #[\ReturnTypeWillChange] // temporarily suppress the type check of php 8.x
175
181
public function count ()
176
182
{
177
183
return count ($ this ->data );
0 commit comments