Skip to content

Commit 1f00e43

Browse files
author
Henning
committed
small changes reagrding naming
1 parent b313429 commit 1f00e43

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/dbal/DbalConsumerHelperTrait.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ protected function fetchMessage(array $queues, int $redeliveryDelay): ?DbalMessa
3030
$endAt = microtime(true) + 0.2; // add 200ms
3131

3232
$select = $this->getConnection()->createQueryBuilder()
33-
->select('MIN(id)')
34-
->addSelect('queue')
33+
->select('MIN(id) as id', 'queue')
3534
->from($this->getContext()->getTableName())
3635
->andWhere('queue IN (:queues)')
3736
->andWhere('delayed_until IS NULL OR delayed_until <= :delayedUntil')

0 commit comments

Comments
 (0)