1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-10 07:06:40 +02:00

Update amqp test mock

This commit is contained in:
Jordi Boggiano
2013-12-26 12:16:07 +01:00
parent edb4aaa75f
commit ad77932a7b

View File

@@ -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; return true;
} }