| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | public function __construct(string $fromAddress, array $amounts, int $minConf = 1, float $fee = 0.0001) |
||
| 23 | { |
||
| 24 | call_user_func_array(function(Amount ...$amounts) {}, $amounts); |
||
|
|
|||
| 25 | |||
| 26 | 2 | $this->fromAddress = $fromAddress; |
|
| 27 | 2 | $this->amounts = $amounts; |
|
| 28 | 2 | $this->minConf = $minConf; |
|
| 29 | 2 | $this->fee = $fee; |
|
| 30 | 2 | } |
|
| 47 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.