Skip to content

Commit

Permalink
Corrected function signature
Browse files Browse the repository at this point in the history
  • Loading branch information
sunspikes committed Aug 7, 2016
1 parent 8978310 commit 7799889
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Producer/Producer.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function __construct(AMQPChannel $channel, $exchange)
/**
* @inheritdoc
*/
public function send($name, array $arguments)
public function send($name, $arguments)
{
try {
if (true === $this->config['delegate']) {
Expand Down
4 changes: 2 additions & 2 deletions src/Producer/ProducerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ interface ProducerInterface
* Send a message
*
* @param string $name
* @param array $arguments
* @param mixed $arguments
* @return void
* @throws CarrotException
*/
public function send($name, array $arguments);
public function send($name, $arguments);
}

0 comments on commit 7799889

Please sign in to comment.