mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-17 01:27:35 +00:00
apply rules rector up to php82
This commit is contained in:
@@ -18,7 +18,7 @@ use Doctrine\Persistence\ObjectRepository;
|
||||
|
||||
class RelationRepository implements ObjectRepository
|
||||
{
|
||||
private EntityRepository $repository;
|
||||
private readonly EntityRepository $repository;
|
||||
|
||||
public function __construct(EntityManagerInterface $entityManager)
|
||||
{
|
||||
|
||||
@@ -20,9 +20,9 @@ use Doctrine\Persistence\ObjectRepository;
|
||||
|
||||
class RelationshipRepository implements ObjectRepository
|
||||
{
|
||||
private EntityManagerInterface $em;
|
||||
private readonly EntityManagerInterface $em;
|
||||
|
||||
private EntityRepository $repository;
|
||||
private readonly EntityRepository $repository;
|
||||
|
||||
public function __construct(EntityManagerInterface $em)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user