Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
7 | final class ZGetOperationResult implements Command |
||
8 | { |
||
9 | private const METHOD = 'z_getoperationresult'; |
||
10 | private $ids; |
||
11 | |||
12 | /** |
||
13 | * @param string[] $ids |
||
14 | */ |
||
15 | public function __construct(array $ids) |
||
16 | { |
||
17 | call_user_func_array(function(string ...$ids) {}, $ids); |
||
|
|||
18 | |||
19 | 1 | $this->ids = $ids; |
|
20 | 1 | } |
|
21 | |||
22 | 1 | public function jsonSerialize(): object |
|
29 | ]; |
||
30 | } |
||
32 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.