diff --git a/RabbitMq/Fallback.php b/RabbitMq/Fallback.php index 92f021e7..e946ccaf 100644 --- a/RabbitMq/Fallback.php +++ b/RabbitMq/Fallback.php @@ -4,15 +4,7 @@ class Fallback implements ProducerInterface { - /** - * Publish a message - * - * @param string $msgBody - * @param string $routingKey - * @param array $additionalProperties - * @param array $headers - */ - public function publish($msgBody, $routingKey = '', $additionalProperties = array(), array $headers = null) + public function publish($msgBody, $routingKey = '', $additionalProperties = array()) { return false; } diff --git a/RabbitMq/ProducerInterface.php b/RabbitMq/ProducerInterface.php index eee136e8..b4e166c1 100644 --- a/RabbitMq/ProducerInterface.php +++ b/RabbitMq/ProducerInterface.php @@ -10,7 +10,6 @@ interface ProducerInterface * @param string $msgBody * @param string $routingKey * @param array $additionalProperties - * @param array $headers */ - public function publish($msgBody, $routingKey = '', $additionalProperties = array(), array $headers = null); + public function publish($msgBody, $routingKey = '', $additionalProperties = array()); }