File tree Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -291,6 +291,7 @@ public function toArray(): array
291291 /**
292292 * @inheritDoc
293293 */
294+ #[\ReturnTypeWillChange]
294295 public function getIterator ()
295296 {
296297 while ( ! $ this ->isEmpty ()) {
Original file line number Diff line number Diff line change @@ -128,6 +128,7 @@ public function toArray(): array
128128 /**
129129 * Get iterator
130130 */
131+ #[\ReturnTypeWillChange]
131132 public function getIterator ()
132133 {
133134 while ( ! $ this ->isEmpty ()) {
Original file line number Diff line number Diff line change @@ -130,8 +130,9 @@ public function toArray(): array
130130 }
131131
132132 /**
133- *
133+ * @inheritDoc
134134 */
135+ #[\ReturnTypeWillChange]
135136 public function getIterator ()
136137 {
137138 while ( ! $ this ->isEmpty ()) {
Original file line number Diff line number Diff line change @@ -350,8 +350,9 @@ private function validIndex(int $index)
350350 }
351351
352352 /**
353- *
353+ * @inheritDoc
354354 */
355+ #[\ReturnTypeWillChange]
355356 public function getIterator ()
356357 {
357358 foreach ($ this ->array as $ value ) {
You can’t perform that action at this time.
0 commit comments