Find the best Rector rule to solve your problem. Searching through 708 rules.

Found 1 rule. That's the one:

AddAnnotationToRepositoryRector

Add @extends ServiceEntityRepository annotation to repository classes

 use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;

+/**
+ * @extends ServiceEntityRepository<\SomeEntity>
+ */
 final class SomeRepository extends ServiceEntityRepository
 {
     public function __construct(ManagerRegistry $registry)
     {
         parent::__construct($registry, SomeEntity::class);
     }
 }