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