Completed
Push — 1.1 ( be0fbd...d8480c )
by David
11:16 queued 02:46
created
src/Objects/Queue.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -539,7 +539,7 @@
 block discarded – undo
539 539
                                     $consumer->isNoAck(),
540 540
                                     $consumer->isExclusive(),
541 541
                                     $consumer->isNoWait(),
542
-                                    function (AMQPMessage $msg) use ($consumer) {
542
+                                    function(AMQPMessage $msg) use ($consumer) {
543 543
                                         $consumer->callback($msg);
544 544
                                     },
545 545
                                     $consumer->getTicket(),
Please login to merge, or discard this patch.
src/Client.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@
 block discarded – undo
196 196
      */
197 197
     public function getQueues()
198 198
     {
199
-        return array_filter($this->rabbitMqObjects, function (RabbitMqObjectInterface $object) {
199
+        return array_filter($this->rabbitMqObjects, function(RabbitMqObjectInterface $object) {
200 200
             return $object instanceof QueueInterface;
201 201
         });
202 202
     }
Please login to merge, or discard this patch.
tests/ClientTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@
 block discarded – undo
161 161
     {
162 162
         $client = $this->makeClient();
163 163
         $queue = new Queue($client, 'test_direct_queue', [
164
-            new Consumer(function (AMQPMessage $msg) {
164
+            new Consumer(function(AMQPMessage $msg) {
165 165
                 $this->msgReceived = $msg;
166 166
             }, new NullLogger())
167 167
         ]);
Please login to merge, or discard this patch.