Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
23 | public function __construct(array $amounts, int $minConfig = 1, string $comment = '', array $subtractFromAddresses = []) |
||
24 | { |
||
25 | call_user_func_array(function(Amount ...$amounts) {}, $amounts); |
||
|
|||
26 | call_user_func_array(function(string ...$addresses) {}, $subtractFromAddresses); |
||
27 | |||
28 | 2 | $this->amounts = $amounts; |
|
29 | 2 | $this->minConfig = $minConfig; |
|
30 | 2 | $this->comment = $comment; |
|
31 | 2 | $this->subtractFromAddresses = $subtractFromAddresses; |
|
32 | 2 | } |
|
50 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.