diff --git a/PhpAmqpLib/Helper/Protocol/Protocol080.php b/PhpAmqpLib/Helper/Protocol/Protocol080.php index 63b86d8e..f107e0cc 100644 --- a/PhpAmqpLib/Helper/Protocol/Protocol080.php +++ b/PhpAmqpLib/Helper/Protocol/Protocol080.php @@ -331,7 +331,7 @@ public static function exchangeDeclareOk(AMQPReader $reader) * @param bool $nowait * @return array */ - public function exchangeDelete($ticket = 1, $exchange, $if_unused = false, $nowait = false) + public function exchangeDelete($ticket = 1, $exchange = '', $if_unused = false, $nowait = false) { $writer = new AMQPWriter(); $writer->write_short($ticket);