diff --git a/PhpAmqpLib/Channel/AMQPChannel.php b/PhpAmqpLib/Channel/AMQPChannel.php index 2bf3403d6..cdd372575 100644 --- a/PhpAmqpLib/Channel/AMQPChannel.php +++ b/PhpAmqpLib/Channel/AMQPChannel.php @@ -333,8 +333,6 @@ protected function access_request_ok($args) * @param bool $auto_delete * @param bool $internal * @param bool $nowait - * @param null $arguments - * @param null $ticket * @return mixed|null */ public function exchange_declare( @@ -889,8 +887,8 @@ protected function basic_cancel_ok($args) * @param bool $no_ack * @param bool $exclusive * @param bool $nowait - * @param null $callback - * @param null $ticket + * @param callback|null $callback + * @param int|null $ticket * @param array $arguments * @return mixed|string */ @@ -1128,6 +1126,11 @@ public function batch_basic_publish( $this->batch_messages[] = func_get_args(); } + /** + * Publish batch + * + * @return void + */ public function publish_batch() { if (empty($this->batch_messages)) { @@ -1323,6 +1326,8 @@ public function confirm_select($nowait = false) /** * Confirms a selection + * + * @return void */ public function confirm_select_ok() {