This class seems to be duplicated in your project.
Duplicated code is one of the most pungent code smells. If you need to duplicate
the same code in three or more different places, we strongly encourage you to
look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.
Loading history...
17
{
18
/**
19
* @var string
20
*/
21
private $queue;
22
23
/**
24
* @var int
25
*/
26
private $messageCount;
27
28
/**
29
* @var int
30
*/
31
private $consumerCount;
32
33
/**
34
* @param int $channel
35
* @param string $queue
36
* @param int $messageCount
37
* @param int $consumerCount
38
*/
39
public function __construct($channel, $queue, $messageCount, $consumerCount)
Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.