mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-07 13:46:38 +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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user