| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | final class ListReceivedByAddress implements Command |
||
| 8 | { |
||
| 9 | private const METHOD = 'listreceivedbyaddress'; |
||
| 10 | private $minConf; |
||
| 11 | private $includeEmpty; |
||
| 12 | private $includeWatchOnly; |
||
| 13 | |||
| 14 | 4 | public function __construct(int $minConf = 1, bool $includeEmpty = false, bool $includeWatchOnly = false) |
|
| 15 | { |
||
| 16 | 4 | $this->minConf = $minConf; |
|
| 17 | 4 | $this->includeEmpty = $includeEmpty; |
|
| 18 | 4 | $this->includeWatchOnly = $includeWatchOnly; |
|
| 19 | 4 | } |
|
| 20 | |||
| 21 | 4 | public function jsonSerialize(): object |
|
| 28 | ]; |
||
| 29 | } |
||
| 31 |