Skip to content

Commit e0e1e1f

Browse files
franmomujbelien
andauthored
Specify iterable type (#1140)
This will help static analysis tools to understand the iterable type of `Collection` Co-authored-by: Jonathan Beliën <[email protected]>
1 parent e81842d commit e0e1e1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Collection.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
*
2121
* @author William Durand <[email protected]>
2222
* @author Tobias Nyholm <[email protected]>
23+
*
24+
* @template-extends \IteratorAggregate<int, Location>
2325
*/
2426
interface Collection extends \IteratorAggregate, \Countable
2527
{

0 commit comments

Comments
 (0)