Completed
Push — master ( bf6474...78183b )
by Daniel
11:37
created
Transport/Rpc/RpcServerBuilder.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     }
26 26
 
27 27
     /**
28
-     * @param $queueName
28
+     * @param string $queueName
29 29
      * @param QueueServiceInterface $queueService
30 30
      * @param QueueBagInterface $queueBag
31 31
      * @return Queue
Please login to merge, or discard this 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 RpcQueueBag) {
36
+        if (!$queueBag instanceof RpcQueueBag) {
37 37
             throw new \Exception('Unsupported QueueBag');
38 38
         }
39 39
         $queue = new Queue($this->getConnectionManager(), $queueBag, $this->logger, $this->connectionName);
Please login to merge, or discard this patch.
Transport/Subscriber/SubscriberBuilder.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     }
26 26
 
27 27
     /**
28
-     * @param $queueName
28
+     * @param string $queueName
29 29
      * @param QueueServiceInterface $queueService
30 30
      * @param QueueBagInterface $queueBag
31 31
      * @return Queue
Please login to merge, or discard this 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, $this->connectionName);
Please login to merge, or discard this patch.
Transport/Worker/WorkerQueueBag.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,6 +10,9 @@  discard block
 block discarded – undo
10 10
     private $resolver;
11 11
     private $options;
12 12
 
13
+    /**
14
+     * @param string $queueName
15
+     */
13 16
     public function __construct(
14 17
         $queueName,
15 18
         $basicQos = 1,
@@ -187,7 +190,7 @@  discard block
 block discarded – undo
187 190
     }
188 191
 
189 192
     /**
190
-     * @return string
193
+     * @return boolean
191 194
      */
192 195
     public function getExchange()
193 196
     {
@@ -195,7 +198,7 @@  discard block
 block discarded – undo
195 198
     }
196 199
 
197 200
     /**
198
-     * @return string
201
+     * @return boolean
199 202
      */
200 203
     public function getType()
201 204
     {
Please login to merge, or discard this patch.
DependencyInjection/CmobiRabbitmqExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 {
17 17
     public function load(array $configs, ContainerBuilder $container)
18 18
     {
19
-        $fileLocator = new FileLocator(__DIR__ . '/../Resources/config');
19
+        $fileLocator = new FileLocator(__DIR__.'/../Resources/config');
20 20
         $loader = new YamlFileLoader($container, $fileLocator);
21 21
         $loader->load('rabbitmq.yml');
22 22
 
Please login to merge, or discard this patch.
Transport/Subscriber/SubscriberQueueCallback.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     public function toClosure()
30 30
     {
31
-        return function (AMQPMessage $message) {
31
+        return function(AMQPMessage $message) {
32 32
             $this->getQueueService()->handle($message);
33 33
         };
34 34
     }
Please login to merge, or discard this patch.