| @@ -399,7 +399,7 @@ | ||
| 399 | 399 | } | 
| 400 | 400 | |
| 401 | 401 | /** | 
| 402 | - * @return string | |
| 402 | + * @return integer | |
| 403 | 403 | */ | 
| 404 | 404 | public function getStatus() | 
| 405 | 405 |      { | 
| @@ -131,8 +131,7 @@ discard block | ||
| 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 | ||
| 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 | } | 
| @@ -62,7 +62,7 @@ | ||
| 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 | */ | 
| @@ -6,7 +6,6 @@ | ||
| 6 | 6 | use ButterAMQP\Exception\AMQPException; | 
| 7 | 7 | use ButterAMQP\Exception\InvalidChannelNumberException; | 
| 8 | 8 | use ButterAMQP\AMQP091\Framing\Frame; | 
| 9 | -use ButterAMQP\AMQP091\Framing\Heartbeat; | |
| 10 | 9 | use ButterAMQP\AMQP091\Framing\Method\ConnectionBlocked; | 
| 11 | 10 | use ButterAMQP\AMQP091\Framing\Method\ConnectionClose; | 
| 12 | 11 | use ButterAMQP\AMQP091\Framing\Method\ConnectionCloseOk; |