Skip to content

Commit

Permalink
Merge pull request #625 from mihaileu/rollback_breaking_changes
Browse files Browse the repository at this point in the history
Revert "Merge pull request #424 from mbiagetti/master"
  • Loading branch information
mihaileu authored Mar 16, 2021
2 parents 8e29336 + 95caa3f commit c901852
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
10 changes: 1 addition & 9 deletions RabbitMq/Fallback.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
3 changes: 1 addition & 2 deletions RabbitMq/ProducerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}

0 comments on commit c901852

Please sign in to comment.