Skip to content

Commit 66199cf

Browse files
authored
Merge pull request #916 from Nevoss/master
DBAL Change ParameterType class to Type class
2 parents 594e878 + a44f4f0 commit 66199cf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/dbal/DbalConsumerHelperTrait.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
use Doctrine\DBAL\Connection;
88
use Doctrine\DBAL\Exception\RetryableException;
9-
use Doctrine\DBAL\ParameterType;
109
use Doctrine\DBAL\Types\Type;
1110
use Ramsey\Uuid\Uuid;
1211

@@ -40,7 +39,7 @@ protected function fetchMessage(array $queues, int $redeliveryDelay): ?DbalMessa
4039
->addOrderBy('priority', 'asc')
4140
->addOrderBy('published_at', 'asc')
4241
->setParameter('queues', $queues, Connection::PARAM_STR_ARRAY)
43-
->setParameter('delayedUntil', $now, ParameterType::INTEGER)
42+
->setParameter('delayedUntil', $now, Type::INTEGER)
4443
->setMaxResults(1);
4544

4645
$update = $this->getConnection()->createQueryBuilder()

0 commit comments

Comments
 (0)