From 8f8301b6def63cdbaa97861cdc1b642521e8bcf6 Mon Sep 17 00:00:00 2001 From: Matthew Brown Date: Sat, 30 Nov 2019 01:11:50 -0500 Subject: [PATCH] Align Generator covariance with PHPStan --- src/Psalm/Internal/Stubs/CoreGenericClasses.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psalm/Internal/Stubs/CoreGenericClasses.php b/src/Psalm/Internal/Stubs/CoreGenericClasses.php index 7fc8559d1..49b2d5a06 100644 --- a/src/Psalm/Internal/Stubs/CoreGenericClasses.php +++ b/src/Psalm/Internal/Stubs/CoreGenericClasses.php @@ -88,7 +88,7 @@ interface Iterator extends Traversable { /** * @template-covariant TKey * @template TValue - * @template-covariant TSend + * @template TSend * @template-covariant TReturn * * @template-implements Traversable