@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | |
92 | 92 | /** |
93 | 93 | * @param \PhpAmqpLib\Connection\AbstractConnection $connection |
94 | - * @param null $channel_id |
|
94 | + * @param integer $channel_id |
|
95 | 95 | * @param bool $auto_decode |
96 | 96 | * @param int $channel_rpc_timeout |
97 | 97 | * @throws \Exception |
@@ -1106,7 +1106,7 @@ discard block |
||
1106 | 1106 | * @param $mandatory |
1107 | 1107 | * @param $immediate |
1108 | 1108 | * @param int $ticket |
1109 | - * @return mixed |
|
1109 | + * @return string |
|
1110 | 1110 | */ |
1111 | 1111 | private function pre_publish($exchange, $routing_key, $mandatory, $immediate, $ticket) |
1112 | 1112 | { |
@@ -1430,7 +1430,7 @@ discard block |
||
1430 | 1430 | * Waits for pending acks and nacks from the server. |
1431 | 1431 | * If there are no pending acks, the method returns immediately |
1432 | 1432 | * |
1433 | - * @param int|float $timeout Waits until $timeout value is reached |
|
1433 | + * @param integer $timeout Waits until $timeout value is reached |
|
1434 | 1434 | * @throws \PhpAmqpLib\Exception\AMQPTimeoutException |
1435 | 1435 | * @throws \PhpAmqpLib\Exception\AMQPRuntimeException |
1436 | 1436 | */ |
@@ -1450,7 +1450,7 @@ discard block |
||
1450 | 1450 | * Waits for pending acks, nacks and returns from the server. |
1451 | 1451 | * If there are no pending acks, the method returns immediately. |
1452 | 1452 | * |
1453 | - * @param int|float $timeout If set to value > 0 the method will wait at most $timeout seconds for pending acks. |
|
1453 | + * @param integer $timeout If set to value > 0 the method will wait at most $timeout seconds for pending acks. |
|
1454 | 1454 | * @throws \PhpAmqpLib\Exception\AMQPTimeoutException |
1455 | 1455 | * @throws \PhpAmqpLib\Exception\AMQPRuntimeException |
1456 | 1456 | */ |