We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0e8a6f7 + d30c72b commit 51fee12Copy full SHA for 51fee12
src/Repository/TaskRepository.php
@@ -22,7 +22,7 @@ public function __construct(ManagerRegistry $registry)
22
public function getTasksToVerify(int $limit): array
23
{
24
return $this->createQueryBuilder('t')
25
- ->andWhere('t.verifyAfter > :now')
+ ->andWhere('t.verifyAfter <= :now')
26
->orderBy('t.updatedAt', 'ASC') // Yes, sort this the wrong way.
27
->setMaxResults($limit)
28
->setParameter('now', new \DateTimeImmutable())
0 commit comments