We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e37dac6 + a1e72e2 commit 9cbc4abCopy full SHA for 9cbc4ab
pkg/dbal/DbalContext.php
@@ -113,11 +113,11 @@ public function createConsumer(Destination $destination): Consumer
113
$consumer = new DbalConsumer($this, $destination);
114
115
if (isset($this->config['polling_interval'])) {
116
- $consumer->setPollingInterval($this->config['polling_interval']);
+ $consumer->setPollingInterval((int) $this->config['polling_interval']);
117
}
118
119
if (isset($this->config['redelivery_delay'])) {
120
- $consumer->setRedeliveryDelay($this->config['redelivery_delay']);
+ $consumer->setRedeliveryDelay((int) $this->config['redelivery_delay']);
121
122
123
return $consumer;
0 commit comments