mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 11:03:50 +00:00
apply rector rules: php up to php82
This commit is contained in:
@@ -29,7 +29,7 @@ use TheNetworg\OAuth2\Client\Provider\Azure;
|
||||
|
||||
class AzureGrantAdminConsentAndAcquireToken extends Command
|
||||
{
|
||||
public function __construct(private Azure $azure, private ClientRegistry $clientRegistry, private MachineTokenStorage $machineTokenStorage)
|
||||
public function __construct(private readonly Azure $azure, private readonly ClientRegistry $clientRegistry, private readonly MachineTokenStorage $machineTokenStorage)
|
||||
{
|
||||
parent::__construct('chill:calendar:msgraph-grant-admin-consent');
|
||||
}
|
||||
|
@@ -25,7 +25,7 @@ use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
class SendShortMessageOnEligibleCalendar extends Command
|
||||
{
|
||||
public function __construct(private BulkCalendarShortMessageSender $messageSender)
|
||||
public function __construct(private readonly BulkCalendarShortMessageSender $messageSender)
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
|
@@ -44,12 +44,12 @@ use function count;
|
||||
class SendTestShortMessageOnCalendarCommand extends Command
|
||||
{
|
||||
public function __construct(
|
||||
private PersonRepository $personRepository,
|
||||
private PhoneNumberUtil $phoneNumberUtil,
|
||||
private PhoneNumberHelperInterface $phoneNumberHelper,
|
||||
private ShortMessageForCalendarBuilderInterface $messageForCalendarBuilder,
|
||||
private ShortMessageTransporterInterface $transporter,
|
||||
private UserRepositoryInterface $userRepository
|
||||
private readonly PersonRepository $personRepository,
|
||||
private readonly PhoneNumberUtil $phoneNumberUtil,
|
||||
private readonly PhoneNumberHelperInterface $phoneNumberHelper,
|
||||
private readonly ShortMessageForCalendarBuilderInterface $messageForCalendarBuilder,
|
||||
private readonly ShortMessageTransporterInterface $transporter,
|
||||
private readonly UserRepositoryInterface $userRepository
|
||||
) {
|
||||
parent::__construct();
|
||||
}
|
||||
|
Reference in New Issue
Block a user