Skip to content

Commit

Permalink
Declare ObjectRepository's template as covariant (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed May 3, 2022
1 parent 4276c6c commit d7edf27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Persistence/ObjectRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* Contract for a Doctrine persistence layer ObjectRepository class to implement.
*
* @template T of object
* @template-covariant T of object
*/
interface ObjectRepository
{
Expand Down

0 comments on commit d7edf27

Please sign in to comment.