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; }