Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2346d59

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 763b93b commit 2346d59

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Common/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)