@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Cmobi\RabbitmqBundle\Transport\Worker; |
4 | 4 | |
5 | 5 | use Cmobi\RabbitmqBundle\Connection\ConnectionManager; |
6 | -use Cmobi\RabbitmqBundle\Connection\Exception\InvalidAMQPChannelException; |
|
7 | 6 | use Cmobi\RabbitmqBundle\Queue\Queue; |
8 | 7 | use Cmobi\RabbitmqBundle\Queue\QueueBagInterface; |
9 | 8 | use Cmobi\RabbitmqBundle\Queue\QueueBuilderInterface; |
@@ -31,7 +31,7 @@ |
||
31 | 31 | */ |
32 | 32 | public function buildQueue($queueName, QueueServiceInterface $queueService, QueueBagInterface $queueBag) |
33 | 33 | { |
34 | - if (! $queueBag instanceof WorkerQueueBag) { |
|
34 | + if (!$queueBag instanceof WorkerQueueBag) { |
|
35 | 35 | throw new \Exception('Unsupported QueueBag'); |
36 | 36 | } |
37 | 37 | $queue = new Queue($this->getConnectionManager(), $queueBag, $this->logger); |
@@ -30,7 +30,7 @@ |
||
30 | 30 | */ |
31 | 31 | public function buildQueue($queueName, QueueServiceInterface $queueService, QueueBagInterface $queueBag) |
32 | 32 | { |
33 | - if (! $queueBag instanceof RpcQueueBag) { |
|
33 | + if (!$queueBag instanceof RpcQueueBag) { |
|
34 | 34 | throw new \Exception('Unsupported QueueBag'); |
35 | 35 | } |
36 | 36 | $queue = new Queue($this->getConnectionManager(), $queueBag, $this->logger); |
@@ -33,7 +33,7 @@ |
||
33 | 33 | */ |
34 | 34 | public function buildQueue($queueName, QueueServiceInterface $queueService, QueueBagInterface $queueBag) |
35 | 35 | { |
36 | - if (! $queueBag instanceof SubscriberQueueBag) { |
|
36 | + if (!$queueBag instanceof SubscriberQueueBag) { |
|
37 | 37 | throw new \Exception('Unsupported QueueBag'); |
38 | 38 | } |
39 | 39 | $queue = new Queue($this->getConnectionManager(), $queueBag, $this->logger); |