refactor: consent checks are performed in AbstractProvider and not in child classes

This commit is contained in:
Maël Gangloff
2024-11-01 00:46:25 +01:00
parent 5be90247f4
commit c7a50eed65
29 changed files with 927 additions and 888 deletions

View File

@@ -38,7 +38,7 @@ final readonly class OrderDomainHandler
private StatService $statService,
private ChatNotificationService $chatNotificationService,
#[Autowire(service: 'service_container')]
private ContainerInterface $locator
private ContainerInterface $locator,
) {
$this->sender = new Address($mailerSenderEmail, $mailerSenderName);
}

View File

@@ -16,7 +16,7 @@ final readonly class ProcessWatchListsTriggerHandler
{
public function __construct(
private WatchListRepository $watchListRepository,
private MessageBusInterface $bus
private MessageBusInterface $bus,
) {
}

View File

@@ -34,7 +34,7 @@ final readonly class SendDomainEventNotifHandler
private StatService $statService,
private DomainRepository $domainRepository,
private WatchListRepository $watchListRepository,
private ChatNotificationService $chatNotificationService
private ChatNotificationService $chatNotificationService,
) {
$this->sender = new Address($mailerSenderEmail, $mailerSenderName);
}

View File

@@ -36,7 +36,7 @@ final readonly class UpdateDomainsFromWatchlistHandler
string $mailerSenderName,
private MessageBusInterface $bus,
private WatchListRepository $watchListRepository,
private LoggerInterface $logger
private LoggerInterface $logger,
) {
$this->sender = new Address($mailerSenderEmail, $mailerSenderName);
}

View File

@@ -17,7 +17,7 @@ final readonly class UpdateRdapServersHandler
{
public function __construct(
private RDAPService $RDAPService,
private ParameterBagInterface $bag
private ParameterBagInterface $bag,
) {
}