diff --git a/src/Resources/skeleton/doctrine/Repository.tpl.php b/src/Resources/skeleton/doctrine/Repository.tpl.php index f06885cf6..e7f0476ff 100644 --- a/src/Resources/skeleton/doctrine/Repository.tpl.php +++ b/src/Resources/skeleton/doctrine/Repository.tpl.php @@ -13,6 +13,8 @@ getFullName(), '\UserInterface')) ? sprintf("use %s;\n", $password_upgrade_user_interface->getFullName()) : null ?> /** + * @extends ServiceEntityRepository<> + * * @method |null find($id, $lockMode = null, $lockVersion = null) * @method |null findOneBy(array $criteria, array $orderBy = null) * @method [] findAll() diff --git a/tests/Doctrine/fixtures/expected_xml/src/Repository/UserRepository.php b/tests/Doctrine/fixtures/expected_xml/src/Repository/UserRepository.php index 66414ec39..17d14e087 100644 --- a/tests/Doctrine/fixtures/expected_xml/src/Repository/UserRepository.php +++ b/tests/Doctrine/fixtures/expected_xml/src/Repository/UserRepository.php @@ -9,6 +9,8 @@ use Doctrine\Persistence\ManagerRegistry; /** + * @extends ServiceEntityRepository + * * @method UserXml|null find($id, $lockMode = null, $lockVersion = null) * @method UserXml|null findOneBy(array $criteria, array $orderBy = null) * @method UserXml[] findAll() diff --git a/tests/Doctrine/fixtures/expected_xml/src/Repository/XOtherRepository.php b/tests/Doctrine/fixtures/expected_xml/src/Repository/XOtherRepository.php index 2b7115ee3..b76f742c4 100644 --- a/tests/Doctrine/fixtures/expected_xml/src/Repository/XOtherRepository.php +++ b/tests/Doctrine/fixtures/expected_xml/src/Repository/XOtherRepository.php @@ -9,6 +9,8 @@ use Doctrine\Persistence\ManagerRegistry; /** + * @extends ServiceEntityRepository + * * @method XOther|null find($id, $lockMode = null, $lockVersion = null) * @method XOther|null findOneBy(array $criteria, array $orderBy = null) * @method XOther[] findAll()