1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Make other Generator params covariant

This commit is contained in:
Matthew Brown 2019-11-30 01:02:51 -05:00
parent baef67e0d8
commit 1b9273c8c0

View File

@ -86,10 +86,10 @@ interface Iterator extends Traversable {
} }
/** /**
* @template TKey * @template-covariant TKey
* @template TValue * @template TValue
* @template TSend * @template-covariant TSend
* @template TReturn * @template-covariant TReturn
* *
* @template-implements Traversable<TKey, TValue> * @template-implements Traversable<TKey, TValue>
*/ */