@@ -73,6 +73,7 @@ abstract public function serialize();
7373 *
7474 * @return array
7575 */
76+ #[\ReturnTypeWillChange]
7677 abstract public function jsonSerialize ();
7778
7879 /**
@@ -102,6 +103,7 @@ public function destroy()
102103 *
103104 * @return ElementList
104105 */
106+ #[\ReturnTypeWillChange]
105107 public function getIterator ()
106108 {
107109 if (!is_null ($ this ->iterator )) {
@@ -157,6 +159,7 @@ public function validate($options = 0)
157159 *
158160 * @return int
159161 */
162+ #[\ReturnTypeWillChange]
160163 public function count ()
161164 {
162165 $ it = $ this ->getIterator ();
@@ -177,6 +180,7 @@ public function count()
177180 *
178181 * @return bool
179182 */
183+ #[\ReturnTypeWillChange]
180184 public function offsetExists ($ offset )
181185 {
182186 $ iterator = $ this ->getIterator ();
@@ -193,6 +197,7 @@ public function offsetExists($offset)
193197 *
194198 * @return mixed
195199 */
200+ #[\ReturnTypeWillChange]
196201 public function offsetGet ($ offset )
197202 {
198203 $ iterator = $ this ->getIterator ();
@@ -208,6 +213,7 @@ public function offsetGet($offset)
208213 * @param int $offset
209214 * @param mixed $value
210215 */
216+ #[\ReturnTypeWillChange]
211217 public function offsetSet ($ offset , $ value )
212218 {
213219 $ iterator = $ this ->getIterator ();
@@ -228,6 +234,7 @@ public function offsetSet($offset, $value)
228234 *
229235 * @param int $offset
230236 */
237+ #[\ReturnTypeWillChange]
231238 public function offsetUnset ($ offset )
232239 {
233240 $ iterator = $ this ->getIterator ();
0 commit comments