Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
34 | 2 | public function jsonSerialize(): object |
|
35 | { |
||
36 | return (object) [ |
||
37 | 2 | 'jsonrpc' => Command::JSON_RPC_VERSION, |
|
38 | 'id' => Command::ID, |
||
39 | 2 | 'method' => self::METHOD, |
|
40 | 'params' => [ |
||
41 | 2 | $this->account, |
|
42 | 2 | $this->amounts, |
|
43 | 2 | $this->minConfig, |
|
44 | 2 | $this->comment, |
|
45 | 2 | $this->subtractFromAddresses |
|
46 | ] |
||
50 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.