Showing 2 of 2 total issues
Method add
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function add($name, callable $callable)
{
try {
$config = $this->config;
$this->channel->queue_declare(
Method __construct
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function __construct($exchange, $type = 'direct', $config = [])
{
$this->config = $this->buildConfig($config);
$this->exchange = $exchange;
$this->type = $type;