Skip to content

Commit 9ce1b84

Browse files
authored
Merge pull request #137 from VincentLanglet/patch-2
Change Paginator template to covariant
2 parents 6e388e1 + 7fc4aa8 commit 9ce1b84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/Paginator.phpstub

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace Doctrine\ORM\Tools\Pagination;
55
use Doctrine\ORM\QueryBuilder;
66
use Doctrine\ORM\Query;
77
/**
8-
* @template T
8+
* @template-covariant T
99
*/
1010
class Paginator implements \Countable, \IteratorAggregate
1111
{

0 commit comments

Comments
 (0)