Conditions | 2 |
Paths | 2 |
Total Lines | 15 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
62 | public function init(AMQPChannel $amqpChannel) { |
||
63 | if(!$this->init) { |
||
64 | $this->source->init(); |
||
|
|||
65 | $this->to->init(); |
||
66 | |||
67 | $amqpChannel->queue_bind($this->to->getName(), |
||
68 | $this->source->getName(), |
||
69 | $this->routing_key, |
||
70 | $this->nowait, |
||
71 | $this->arguments, |
||
72 | $this->ticket); |
||
73 | |||
74 | $this->init = true; |
||
75 | } |
||
76 | } |
||
77 | |||
150 | } |
This check looks for function calls that miss required arguments.