| Conditions | 5 |
| Paths | 3 |
| Total Lines | 13 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 39 | public function declure() { |
||
| 40 | foreach ($this->queues as $name => $options) { |
||
| 41 | list($queueName, ,) = $this->getChannel()->queue_declare($name, $options['passive'], |
||
| 42 | $options['durable'], $options['exclusive'], |
||
| 43 | $options['auto_delete'], $options['nowait'], |
||
| 44 | $options['arguments'], $options['ticket']); |
||
| 45 | |||
| 46 | if (isset($options['routing_keys']) && count($options['routing_keys']) > 0) { |
||
| 47 | foreach ($options['routing_keys'] as $routingKey) { |
||
| 48 | $this->queueBind($queueName, $this->exchangeOptions['name'], $routingKey, $options['arguments'] ?? []); |
||
| 49 | } |
||
| 50 | } else { |
||
| 51 | $this->queueBind($queueName, $this->exchangeOptions['name'], $this->routingKey, $options['arguments'] ?? []); |
||
| 52 | } |
||
| 55 | } |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.