File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed
Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 44
55use ArrayIterator ;
66use IteratorAggregate ;
7+ use ReturnTypeWillChange ;
78
89//use Laminas\ApiTools\ContentNegotiation\ViewModel;
910
@@ -110,6 +111,7 @@ public function toArray()
110111 *
111112 * @return ArrayIterator
112113 */
114+ #[ReturnTypeWillChange]
113115 public function getIterator ()
114116 {
115117 return new ArrayIterator ($ this ->toArray ());
Original file line number Diff line number Diff line change 44
55use ArrayIterator ;
66use IteratorAggregate ;
7+ use ReturnTypeWillChange ;
78
89class Field implements IteratorAggregate
910{
@@ -146,6 +147,7 @@ public function toArray()
146147 *
147148 * @return ArrayIterator
148149 */
150+ #[ReturnTypeWillChange]
149151 public function getIterator ()
150152 {
151153 return new ArrayIterator ($ this ->toArray ());
Original file line number Diff line number Diff line change 44
55use ArrayIterator ;
66use IteratorAggregate ;
7+ use ReturnTypeWillChange ;
78
89class Operation implements IteratorAggregate
910{
@@ -158,6 +159,7 @@ public function toArray()
158159 *
159160 * @return ArrayIterator
160161 */
162+ #[ReturnTypeWillChange]
161163 public function getIterator ()
162164 {
163165 return new ArrayIterator ($ this ->toArray ());
Original file line number Diff line number Diff line change 55use ArrayIterator ;
66use IteratorAggregate ;
77use Laminas \ApiTools \Documentation \Api ;
8+ use ReturnTypeWillChange ;
89
910class Service implements IteratorAggregate
1011{
@@ -287,6 +288,7 @@ public function toArray()
287288 *
288289 * @return ArrayIterator
289290 */
291+ #[ReturnTypeWillChange]
290292 public function getIterator ()
291293 {
292294 return new ArrayIterator ($ this ->toArray ());
You can’t perform that action at this time.
0 commit comments