Completed
Push — master ( 0db478...248a24 )
by Daniel
11:06
created
Transport/Worker/WorkerBuilder.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
Transport/Rpc/RpcServerBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
Transport/PubSub/SubscriberBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.