Total Complexity | 2 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
7 | final class SendMany implements Command |
||
8 | { |
||
9 | private const METHOD = 'sendmany'; |
||
10 | private $account = ''; |
||
11 | private $amounts; |
||
12 | private $minConfig; |
||
13 | private $comment; |
||
14 | private $subtractFromAddresses; |
||
15 | |||
16 | /** |
||
17 | * SendMany constructor |
||
18 | * @param Amount[] $amounts |
||
19 | * @param int $minConfig |
||
20 | * @param string $comment |
||
21 | * @param string[] $subtractFromAddresses |
||
22 | */ |
||
23 | public function __construct(array $amounts, int $minConfig = 1, string $comment = '', array $subtractFromAddresses = []) |
||
32 | 2 | } |
|
33 | |||
34 | 2 | public function jsonSerialize(): object |
|
50 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.