From 251cd5aaea32bb92cdad4204840786b317dcdd4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Je=CC=81re=CC=81my=20DECOOL?= Date: Fri, 6 Jan 2023 12:31:31 +0100 Subject: [PATCH] Add generics types on ServiceEntityRepository using the LazyServiceEntityRepository --- Repository/ServiceEntityRepository.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Repository/ServiceEntityRepository.php b/Repository/ServiceEntityRepository.php index 9a94e6d8b..e5e00ce43 100644 --- a/Repository/ServiceEntityRepository.php +++ b/Repository/ServiceEntityRepository.php @@ -11,6 +11,10 @@ use function trait_exists; if (trait_exists(LazyGhostTrait::class)) { + /** + * @template T of object + * @template-extends LazyServiceEntityRepository + */ class ServiceEntityRepository extends LazyServiceEntityRepository { }