From af65e5ac3f2478ad74a401db3d707b4fca507316 Mon Sep 17 00:00:00 2001 From: Yura Rodchyn Date: Fri, 12 Dec 2025 09:48:34 +0200 Subject: [PATCH] Make template covariant Signed-off-by: Yura Rodchyn --- src/Collection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Collection.php b/src/Collection.php index bf7cb55..f35264f 100644 --- a/src/Collection.php +++ b/src/Collection.php @@ -28,7 +28,7 @@ * * @author Tim * - * @psalm-template TEntity of Entity + * @template-covariant TEntity of Entity * @template-implements \ArrayAccess * @template-implements \IteratorAggregate */