fix: inject LockFactory

This commit is contained in:
Maël Gangloff 2025-11-09 17:42:05 +01:00
parent 66e2c25b18
commit 3a1586a7a6
No known key found for this signature in database
GPG Key ID: 11FDC81C24A7F629

View File

@ -48,7 +48,6 @@ final readonly class OrderDomainHandler
#[Autowire(param: 'influxdb_enabled')] #[Autowire(param: 'influxdb_enabled')]
private bool $influxdbEnabled, private EntityManagerInterface $em, private bool $influxdbEnabled, private EntityManagerInterface $em,
private DomainPurchaseRepository $domainPurchaseRepository, private DomainPurchaseRepository $domainPurchaseRepository,
#[Target('lock')]
private LockFactory $lockFactory, private LockFactory $lockFactory,
) { ) {
$this->sender = new Address($mailerSenderEmail, $mailerSenderName); $this->sender = new Address($mailerSenderEmail, $mailerSenderName);