Rector changes: repositories become final readonly classes

This commit is contained in:
2024-07-18 09:49:05 +02:00
parent 3fc3f32c5f
commit c82991674e
42 changed files with 111 additions and 111 deletions

View File

@@ -16,9 +16,9 @@ use Doctrine\ORM\EntityManagerInterface;
use Doctrine\ORM\EntityRepository;
use Doctrine\Persistence\ObjectRepository;
final class GroupCenterRepository implements ObjectRepository
final readonly class GroupCenterRepository implements ObjectRepository
{
private readonly EntityRepository $repository;
private EntityRepository $repository;
public function __construct(EntityManagerInterface $entityManager)
{