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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user