| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | final class ListTransactions implements Command |
||
| 8 | { |
||
| 9 | private const METHOD = 'listtransactions'; |
||
| 10 | private $account = '*'; |
||
| 11 | private $count; |
||
| 12 | private $from; |
||
| 13 | private $includeWatchOnly; |
||
| 14 | |||
| 15 | 2 | public function __construct(int $count = 10, int $from = 0, bool $includeWatchOnly = false) |
|
| 20 | 2 | } |
|
| 21 | |||
| 22 | 2 | public function jsonSerialize(): object |
|
| 37 |