Skip to content

Commit d58062e

Browse files
committed
Fix typing information.
1 parent 4513b92 commit d58062e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/SimpleCachingIteratorAggregate.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@
2525
final class SimpleCachingIteratorAggregate implements IteratorAggregate
2626
{
2727
/**
28-
* @var CachingIterator<TKey, T>
28+
* // TODO: Remove this when PSalm 5 is released.
29+
* @psalm-var CachingIterator<TKey, T>
30+
* @phpstan-var CachingIterator<TKey, T, Iterator<TKey, T>>
2931
*/
3032
private CachingIterator $iterator;
3133

0 commit comments

Comments
 (0)