Skip to content

Commit

Permalink
Merge pull request #2457 from VincentLanglet/patch-1
Browse files Browse the repository at this point in the history
Make Iterator covariant
  • Loading branch information
malarzm authored Sep 26, 2022
2 parents ea15696 + 605e68f commit 4e6423a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/ODM/MongoDB/Iterator/Iterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace Doctrine\ODM\MongoDB\Iterator;

/**
* @template TValue
* @template-covariant TValue
* @template-extends \Iterator<mixed, TValue>
*/
interface Iterator extends \Iterator
Expand Down

0 comments on commit 4e6423a

Please sign in to comment.