| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | 4 | public function __construct( |
|
| 17 | string $address, |
||
| 18 | float $amount, |
||
| 19 | ?string $comment, |
||
| 20 | ?string $commentTo, |
||
| 21 | bool $subtractFromAmount = false |
||
| 22 | ) { |
||
| 23 | 4 | $this->address = $address; |
|
| 24 | 4 | $this->amount = $amount; |
|
| 25 | 4 | $this->comment = $comment; |
|
| 26 | 4 | $this->commentTo = $commentTo; |
|
| 27 | 4 | $this->subtractFromAmount = $subtractFromAmount; |
|
| 28 | 4 | } |
|
| 62 |