| 1 | <?php |
||
| 16 | class DummyChannel |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * Faking the not conventional call queue_declare |
||
| 20 | * |
||
| 21 | * @param string $method Simple implementation to match our camelcase validation |
||
| 22 | * @param array $arguments Data list |
||
| 23 | * @return mixed |
||
| 24 | */ |
||
| 25 | public function __call($method, $arguments) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Dummy function queue_declare |
||
| 35 | * @param string $queue tmp value |
||
| 36 | * @param bool $false tmp value |
||
| 37 | * @param bool $true tmp value |
||
| 38 | * @param bool $false tmp value |
||
| 39 | * @param bool $false tmp value |
||
| 40 | * @return void |
||
| 41 | */ |
||
| 42 | public function queueDeclare($queue, $false, $true, $false, $false) |
||
| 45 | } |
||
| 46 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.