Skip to content

Commit 6742995

Browse files
authored
Merge pull request #5 from chocopowwwa/patch-1
Update AmqpQueue.php
2 parents 06d481f + 11cd78d commit 6742995

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AmqpQueue.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function pop($queue = null)
5454
*/
5555
protected function declareQueue($queue = null)
5656
{
57-
$psrQueue = $this->getPsrContext()->createQueue($this->getQueue($queue));
57+
$psrQueue = $this->getQueue($queue);
5858
$psrQueue->addFlag(\Interop\Amqp\AmqpQueue::FLAG_DURABLE);
5959

6060
$this->getPsrContext()->declareQueue($psrQueue);

0 commit comments

Comments
 (0)