mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 03:23:48 +00:00
apply rector rules: php up to php82
This commit is contained in:
@@ -24,7 +24,7 @@ class HouseholdMenuBuilder implements LocalMenuBuilderInterface
|
||||
*/
|
||||
protected $translator;
|
||||
|
||||
public function __construct(TranslatorInterface $translator, private Security $security)
|
||||
public function __construct(TranslatorInterface $translator, private readonly Security $security)
|
||||
{
|
||||
$this->translator = $translator;
|
||||
}
|
||||
|
@@ -41,9 +41,9 @@ class PersonMenuBuilder implements LocalMenuBuilderInterface
|
||||
|
||||
public function __construct(
|
||||
ParameterBagInterface $parameterBag,
|
||||
private Security $security,
|
||||
private readonly Security $security,
|
||||
protected TranslatorInterface $translator,
|
||||
private ResidentialAddressRepository $residentialAddressRepo
|
||||
private readonly ResidentialAddressRepository $residentialAddressRepo
|
||||
) {
|
||||
$this->showAccompanyingPeriod = $parameterBag->get('chill_person.accompanying_period');
|
||||
}
|
||||
|
@@ -28,7 +28,7 @@ class SectionMenuBuilder implements LocalMenuBuilderInterface
|
||||
/**
|
||||
* SectionMenuBuilder constructor.
|
||||
*/
|
||||
public function __construct(protected ParameterBagInterface $parameterBag, private Security $security, protected TranslatorInterface $translator)
|
||||
public function __construct(protected ParameterBagInterface $parameterBag, private readonly Security $security, protected TranslatorInterface $translator)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user