Completed
Push — master ( 73f6e1...42bf17 )
by Sergey
04:22
created
src/Connection.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use ButterAMQP\Exception\AMQPException;
6 6
 use ButterAMQP\Exception\InvalidChannelNumberException;
7 7
 use ButterAMQP\Framing\Frame;
8
-use ButterAMQP\Framing\Heartbeat;
9 8
 use ButterAMQP\Framing\Method\ConnectionBlocked;
10 9
 use ButterAMQP\Framing\Method\ConnectionClose;
11 10
 use ButterAMQP\Framing\Method\ConnectionCloseOk;
Please login to merge, or discard this patch.
src/Channel.php 1 patch
Spacing   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -131,8 +131,7 @@  discard block
 block discarded – undo
131 131
         $frame = $this->send(new ChannelFlow($active))
132 132
             ->wait(ChannelFlowOk::class);
133 133
 
134
-        $this->status = $frame->isActive() ? self::STATUS_READY :
135
-            self::STATUS_INACTIVE;
134
+        $this->status = $frame->isActive() ? self::STATUS_READY : self::STATUS_INACTIVE;
136 135
 
137 136
         return $this;
138 137
     }
@@ -305,8 +304,7 @@  discard block
 block discarded – undo
305 304
      */
306 305
     public function reject($deliveryTag, $requeue = true, $multiple = false)
307 306
     {
308
-        $multiple ? $this->send(new BasicNack($deliveryTag, $multiple, $requeue)) :
309
-            $this->send(new BasicReject($deliveryTag, $requeue));
307
+        $multiple ? $this->send(new BasicNack($deliveryTag, $multiple, $requeue)) : $this->send(new BasicReject($deliveryTag, $requeue));
310 308
 
311 309
         return $this;
312 310
     }
Please login to merge, or discard this patch.