@@ -111,6 +111,7 @@ public function getRawData()
111111 *
112112 * @return boolean
113113 */
114+ #[\ReturnTypeWillChange] // temporarily suppress the type check of php 8.x
114115 public function offsetExists ($ offset )
115116 {
116117 $ key = self ::normalizeKey ($ offset );
@@ -122,6 +123,7 @@ public function offsetExists($offset)
122123 *
123124 * @return string|null
124125 */
126+ #[\ReturnTypeWillChange] // temporarily suppress the type check of php 8.x
125127 public function offsetGet ($ offset )
126128 {
127129 $ key = self ::normalizeKey ($ offset );
@@ -138,6 +140,7 @@ public function offsetGet($offset)
138140 *
139141 * @return void
140142 */
143+ #[\ReturnTypeWillChange] // temporarily suppress the type check of php 8.x
141144 public function offsetSet ($ offset , $ value )
142145 {
143146 $ key = self ::normalizeKey ($ offset );
@@ -151,6 +154,7 @@ public function offsetSet($offset, $value)
151154 /**
152155 * @return void
153156 */
157+ #[\ReturnTypeWillChange] // temporarily suppress the type check of php 8.x
154158 public function offsetUnset ($ offset )
155159 {
156160 $ key = self ::normalizeKey ($ offset );
@@ -160,6 +164,7 @@ public function offsetUnset($offset)
160164 /**
161165 * @return \ArrayIterator
162166 */
167+ #[\ReturnTypeWillChange] // temporarily suppress the type check of php 8.x
163168 public function getIterator ()
164169 {
165170 $ arr = array ();
@@ -172,6 +177,7 @@ public function getIterator()
172177 /**
173178 * @return int
174179 */
180+ #[\ReturnTypeWillChange] // temporarily suppress the type check of php 8.x
175181 public function count ()
176182 {
177183 return count ($ this ->data );
0 commit comments