Skip to content

Commit

Permalink
Add generics types on ServiceEntityRepository using the LazyServiceEn…
Browse files Browse the repository at this point in the history
…tityRepository
  • Loading branch information
jdecool authored and ostrolucky committed Jan 6, 2023
1 parent fe9b2cc commit 251cd5a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Repository/ServiceEntityRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
use function trait_exists;

if (trait_exists(LazyGhostTrait::class)) {
/**
* @template T of object
* @template-extends LazyServiceEntityRepository<T>
*/
class ServiceEntityRepository extends LazyServiceEntityRepository
{
}
Expand Down

0 comments on commit 251cd5a

Please sign in to comment.