| @@ -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 |      { | 
| @@ -130,8 +130,7 @@ discard block | ||
| 130 | 130 | /** @var ChannelFlowOk $frame */ | 
| 131 | 131 | $frame = $this->wire->wait($this->id, ChannelFlowOk::class); | 
| 132 | 132 | |
| 133 | - $this->status = $frame->isActive() ? self::STATUS_READY : | |
| 134 | - self::STATUS_INACTIVE; | |
| 133 | + $this->status = $frame->isActive() ? self::STATUS_READY : self::STATUS_INACTIVE; | |
| 135 | 134 | |
| 136 | 135 | return $this; | 
| 137 | 136 | } | 
| @@ -312,8 +311,7 @@ discard block | ||
| 312 | 311 | */ | 
| 313 | 312 | public function reject($deliveryTag, $requeue = true, $multiple = false) | 
| 314 | 313 |      { | 
| 315 | - $multiple ? $this->wire->send(new BasicNack($this->id, $deliveryTag, $multiple, $requeue)) : | |
| 316 | - $this->wire->send(new BasicReject($this->id, $deliveryTag, $requeue)); | |
| 314 | + $multiple ? $this->wire->send(new BasicNack($this->id, $deliveryTag, $multiple, $requeue)) : $this->wire->send(new BasicReject($this->id, $deliveryTag, $requeue)); | |
| 317 | 315 | |
| 318 | 316 | return $this; | 
| 319 | 317 | } | 
| @@ -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; |