Skip to content

Commit 7093f25

Browse files
committed
Restore return type to covariant IteratorAggregate implementations
1 parent 4f06d19 commit 7093f25

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

GenericEvent.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ public function offsetExists(mixed $key): bool
148148

149149
/**
150150
* IteratorAggregate for iterating over the object like an array.
151+
*
152+
* @return \ArrayIterator<string, mixed>
151153
*/
152154
public function getIterator(): \ArrayIterator
153155
{

0 commit comments

Comments
 (0)