Skip to content

Commit

Permalink
Restore return type to covariant IteratorAggregate implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Dec 21, 2021
1 parent 4f06d19 commit 7093f25
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GenericEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ public function offsetExists(mixed $key): bool

/**
* IteratorAggregate for iterating over the object like an array.
*
* @return \ArrayIterator<string, mixed>
*/
public function getIterator(): \ArrayIterator
{
Expand Down

0 comments on commit 7093f25

Please sign in to comment.