Skip to content

Commit 6179026

Browse files
authored
Merge pull request #10 from matchbookmac/patch-1
declareQueue using wrong queue object
2 parents a9384d1 + 6d56d03 commit 6179026

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
@@ -57,6 +57,6 @@ protected function declareQueue($queue = null)
5757
$interopQueue = $this->getQueue($queue);
5858
$interopQueue->addFlag(\Interop\Amqp\AmqpQueue::FLAG_DURABLE);
5959

60-
$this->getQueueInteropContext()->declareQueue($queue);
60+
$this->getQueueInteropContext()->declareQueue($interopQueue);
6161
}
6262
}

0 commit comments

Comments
 (0)