| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | final class LockUnspent implements Command |
||
| 8 | { |
||
| 9 | private const METHOD = 'lockunspent'; |
||
| 10 | private $unlock; |
||
| 11 | private $transactions; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @param bool $unlock |
||
| 15 | * @param Transaction[] $transactions |
||
| 16 | */ |
||
| 17 | public function __construct(bool $unlock, array $transactions) |
||
| 23 | 2 | } |
|
| 24 | |||
| 25 | 2 | public function jsonSerialize(): object |
|
| 35 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.