@@ -221,7 +221,7 @@ discard block |
||
221 | 221 | } |
222 | 222 | |
223 | 223 | /** |
224 | - * @param int|float|null $timeout |
|
224 | + * @param integer $timeout |
|
225 | 225 | * @return array|mixed |
226 | 226 | */ |
227 | 227 | public function next_frame($timeout = 0) |
@@ -325,7 +325,7 @@ discard block |
||
325 | 325 | * |
326 | 326 | * @param array|null $allowed_methods |
327 | 327 | * @param bool $non_blocking |
328 | - * @param int|float|null $timeout |
|
328 | + * @param integer $timeout |
|
329 | 329 | * @throws \PhpAmqpLib\Exception\AMQPOutOfBoundsException |
330 | 330 | * @throws \PhpAmqpLib\Exception\AMQPRuntimeException |
331 | 331 | * @throws \PhpAmqpLib\Exception\AMQPTimeoutException |
@@ -554,7 +554,7 @@ discard block |
||
554 | 554 | /** |
555 | 555 | * Waits for a frame from the server |
556 | 556 | * |
557 | - * @param int|float|null $timeout |
|
557 | + * @param integer $timeout |
|
558 | 558 | * @return array |
559 | 559 | * @throws \Exception |
560 | 560 | * @throws \PhpAmqpLib\Exception\AMQPTimeoutException |
@@ -619,7 +619,7 @@ discard block |
||
619 | 619 | * Waits for a frame from the server destined for a particular channel. |
620 | 620 | * |
621 | 621 | * @param int $channel_id |
622 | - * @param int|float|null $timeout |
|
622 | + * @param integer $timeout |
|
623 | 623 | * @return array |
624 | 624 | */ |
625 | 625 | protected function wait_channel($channel_id, $timeout = 0) |