Skip to content

Commit

Permalink
Merge pull request #427 from FriendsOfHoneybee/master
Browse files Browse the repository at this point in the history
Fix exchange_unbind arguments
  • Loading branch information
michaelklishin committed Jan 19, 2017
2 parents 589e5d1 + e6dab50 commit cb0433a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion PhpAmqpLib/Channel/AMQPChannel.php
Expand Up @@ -476,11 +476,12 @@ protected function exchange_bind_ok($reader)
* @param string $destination
* @param string $source
* @param string $routing_key
* @param bool $nowait
* @param array $arguments
* @param int $ticket
* @return mixed
*/
public function exchange_unbind($destination, $source, $routing_key = '', $arguments = null, $ticket = null)
public function exchange_unbind($destination, $source, $routing_key = '', $nowait = false, $arguments = null, $ticket = null)
{
$arguments = $this->getArguments($arguments);
$ticket = $this->getTicket($ticket);
Expand All @@ -490,6 +491,7 @@ public function exchange_unbind($destination, $source, $routing_key = '', $argum
$destination,
$source,
$routing_key,
$nowait,
$arguments
);

Expand Down

0 comments on commit cb0433a

Please sign in to comment.