diff --git a/lib/Doctrine/ORM/EntityManager.php b/lib/Doctrine/ORM/EntityManager.php index 6203b40c46..85fa149f0a 100644 --- a/lib/Doctrine/ORM/EntityManager.php +++ b/lib/Doctrine/ORM/EntityManager.php @@ -779,7 +779,7 @@ public function lock($entity, $lockMode, $lockVersion = null) * @return ObjectRepository|EntityRepository The repository class. * @psalm-return EntityRepository * - * @template T + * @template T of object */ public function getRepository($entityName) { diff --git a/lib/Doctrine/ORM/EntityManagerInterface.php b/lib/Doctrine/ORM/EntityManagerInterface.php index 9f7fa2dec0..13e407d41e 100644 --- a/lib/Doctrine/ORM/EntityManagerInterface.php +++ b/lib/Doctrine/ORM/EntityManagerInterface.php @@ -32,7 +32,7 @@ interface EntityManagerInterface extends ObjectManager * * @psalm-return EntityRepository * - * @template T + * @template T of object */ public function getRepository($className); diff --git a/lib/Doctrine/ORM/EntityRepository.php b/lib/Doctrine/ORM/EntityRepository.php index 20eb08e8ab..5260029ed5 100644 --- a/lib/Doctrine/ORM/EntityRepository.php +++ b/lib/Doctrine/ORM/EntityRepository.php @@ -30,7 +30,7 @@ * This class is designed for inheritance and users can subclass this class to * write their own repositories with business-specific methods to locate entities. * - * @template T + * @template T of object * @template-implements Selectable * @template-implements ObjectRepository */