mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 02:53:50 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -28,23 +28,14 @@ use Symfony\Contracts\Translation\TranslatorInterface;
|
||||
|
||||
class FamilyMemberController extends AbstractController
|
||||
{
|
||||
protected LoggerInterface $chillMainLogger;
|
||||
|
||||
protected TranslatorInterface $translator;
|
||||
|
||||
private EntityManagerInterface $em;
|
||||
|
||||
private FamilyMemberRepository $familyMemberRepository;
|
||||
|
||||
public function __construct(
|
||||
EntityManagerInterface $entityManager,
|
||||
TranslatorInterface $translator,
|
||||
LoggerInterface $chillMainLogger,
|
||||
private EntityManagerInterface $em,
|
||||
protected TranslatorInterface $translator,
|
||||
protected LoggerInterface $chillMainLogger,
|
||||
FamilyMemberRepository $familyMemberRepository
|
||||
) {
|
||||
$this->em = $entityManager;
|
||||
$this->translator = $translator;
|
||||
$this->chillMainLogger = $chillMainLogger;
|
||||
$this->familyMemberRepository = $familyMemberRepository;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user