Completed
Push — master ( bf6474...78183b )
by Daniel
11:37
created
Transport/Rpc/RpcClient.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     {
65 65
         $this->refreshChannel();
66 66
 
67
-        if (! $this->queueHasExists()) {
67
+        if (!$this->queueHasExists()) {
68 68
             throw new QueueNotFoundException("Queue $this->queueName not declared.");
69 69
         }
70 70
         $this->correlationId = $this->generateCorrelationId();
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
             [$this, 'onResponse']
84 84
         );
85 85
         $msg = new CmobiAMQPMessage(
86
-            (string) $data,
86
+            (string)$data,
87 87
             [
88 88
                 'correlation_id' => $this->correlationId,
89 89
                 'reply_to' => $this->callbackQueue,
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
         );
93 93
         $this->getChannel()->basic_publish($msg, '', $this->getQueueName());
94 94
 
95
-        while (! $this->response) {
95
+        while (!$this->response) {
96 96
             $this->getChannel()->wait(null, 0, ($expire / 1000));
97 97
         }
98 98
         $this->getChannel()->close();
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
@@ -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.