From b265bbd70dbe7386578d19101421213aa5ce7714 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 26 Dec 2013 14:11:00 +0100 Subject: [PATCH] Fix signature --- tests/Monolog/Handler/AmqpExchangeMock.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Monolog/Handler/AmqpExchangeMock.php b/tests/Monolog/Handler/AmqpExchangeMock.php index 20594c23..1fe53f8a 100644 --- a/tests/Monolog/Handler/AmqpExchangeMock.php +++ b/tests/Monolog/Handler/AmqpExchangeMock.php @@ -19,7 +19,7 @@ class AmqpExchangeMock extends \AMQPExchange { } - public function publish($message, $routing_key, $flags = 0, array $attributes = array()) + public function publish($message, $routing_key, $flags = AMQP_NOPARAM, array $attributes = array()) { $this->messages[] = array($message, $routing_key, $flags, $attributes);