From ad77932a7b9a14f1a6e93648c6d4d5b96515588f Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 26 Dec 2013 12:16:07 +0100 Subject: [PATCH] Update amqp test mock --- tests/Monolog/Handler/AmqpExchangeMock.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Monolog/Handler/AmqpExchangeMock.php b/tests/Monolog/Handler/AmqpExchangeMock.php index 3415c82c..20594c23 100644 --- a/tests/Monolog/Handler/AmqpExchangeMock.php +++ b/tests/Monolog/Handler/AmqpExchangeMock.php @@ -19,9 +19,9 @@ class AmqpExchangeMock extends \AMQPExchange { } - public function publish($message, $routing_key, $params = 0, $attributes = array()) + public function publish($message, $routing_key, $flags = 0, array $attributes = array()) { - $this->messages[] = array($message, $routing_key, $params, $attributes); + $this->messages[] = array($message, $routing_key, $flags, $attributes); return true; }