Explorar el Código

Fix signature

Jordi Boggiano hace 12 años
padre
commit
b265bbd70d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tests/Monolog/Handler/AmqpExchangeMock.php

+ 1 - 1
tests/Monolog/Handler/AmqpExchangeMock.php

@@ -19,7 +19,7 @@ class AmqpExchangeMock extends \AMQPExchange
     {
     }
 
-    public function publish($message, $routing_key, $flags = 0, array $attributes = array())
+    public function publish($message, $routing_key, $flags = AMQP_NOPARAM, array $attributes = array())
     {
         $this->messages[] = array($message, $routing_key, $flags, $attributes);