Completed
Push — master ( 42bf17...fdb7de )
by Sergey
04:25
created
src/Channel.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -399,7 +399,7 @@
 block discarded – undo
399 399
     }
400 400
 
401 401
     /**
402
-     * @return string
402
+     * @return integer
403 403
      */
404 404
     public function getStatus()
405 405
     {
Please login to merge, or discard this 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($this->id, $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
     }
@@ -307,8 +306,7 @@  discard block
 block discarded – undo
307 306
      */
308 307
     public function reject($deliveryTag, $requeue = true, $multiple = false)
309 308
     {
310
-        $multiple ? $this->send(new BasicNack($this->id, $deliveryTag, $multiple, $requeue)) :
311
-            $this->send(new BasicReject($this->id, $deliveryTag, $requeue));
309
+        $multiple ? $this->send(new BasicNack($this->id, $deliveryTag, $multiple, $requeue)) : $this->send(new BasicReject($this->id, $deliveryTag, $requeue));
312 310
 
313 311
         return $this;
314 312
     }
Please login to merge, or discard this patch.
src/Connection.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
     private $capabilities = [];
63 63
 
64 64
     /**
65
-     * @param Url|string             $url
65
+     * @param Url             $url
66 66
      * @param WireInterface          $wire
67 67
      * @param AuthenticatorInterface $authenticator
68 68
      */
Please login to merge, or discard this 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/IO/StreamIO.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,8 @@
 block discarded – undo
38 38
     /**
39 39
      * Initialize default logger.
40 40
      *
41
-     * @param int|float $connectionTimeout
42
-     * @param int|float $readingTimeout
41
+     * @param integer $connectionTimeout
42
+     * @param integer $readingTimeout
43 43
      */
44 44
     public function __construct($connectionTimeout = 30, $readingTimeout = 1)
45 45
     {
Please login to merge, or discard this patch.
src/Url.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
 
137 137
     /**
138 138
      * @param string $key
139
-     * @param mixed  $default
139
+     * @param integer  $default
140 140
      *
141 141
      * @return mixed
142 142
      */
Please login to merge, or discard this patch.