From 7fc4aa8919e4cff19e8735b6fb2fe67087ac3c2c Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Thu, 22 Dec 2022 21:49:41 +0100 Subject: [PATCH] Change Paginator template to covariant --- stubs/Paginator.phpstub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/Paginator.phpstub b/stubs/Paginator.phpstub index 31ec335..9a97982 100644 --- a/stubs/Paginator.phpstub +++ b/stubs/Paginator.phpstub @@ -5,7 +5,7 @@ namespace Doctrine\ORM\Tools\Pagination; use Doctrine\ORM\QueryBuilder; use Doctrine\ORM\Query; /** - * @template T + * @template-covariant T */ class Paginator implements \Countable, \IteratorAggregate {