fix: orderBy DESC

This commit is contained in:
Maël Gangloff
2025-10-19 22:31:59 +02:00
parent 06f2a6a90d
commit cad4926d51

View File

@@ -116,7 +116,7 @@ final readonly class SendDomainEventNotifHandler
->where('ds.domain = :domain')
->andWhere('ds.createdAt > :createdAt')
->andWhere('ds.createdAt < :now')
->orderBy('ds.createdAt DESC')
->orderBy('ds.createdAt', 'DESC')
->setParameter('domain', $domain)
->setParameter('createdAt', $domain->getUpdatedAt())
->setParameter('now', new \DateTimeImmutable())