mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-01-01 15:01:24 +00:00
Rector changes: repositories become final readonly classes
This commit is contained in:
@@ -18,9 +18,9 @@ use Doctrine\ORM\EntityRepository;
|
||||
use Doctrine\ORM\QueryBuilder;
|
||||
use Doctrine\Persistence\ObjectRepository;
|
||||
|
||||
final class GoalRepository implements ObjectRepository
|
||||
final readonly class GoalRepository implements ObjectRepository
|
||||
{
|
||||
private readonly EntityRepository $repository;
|
||||
private EntityRepository $repository;
|
||||
|
||||
public function __construct(EntityManagerInterface $entityManager)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user