Conditions | 3 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 3 |
Changes | 0 |
1 | <?php |
||
38 | private function replace(array $array) |
||
39 | 3 | { |
|
40 | 3 | $this->output = new TransactionOutput( |
|
41 | 3 | array_key_exists('value', $array) ? $array['value'] : $this->output->getValue(), |
|
42 | array_key_exists('script', $array) ? $array['script'] : $this->output->getScript() |
||
43 | ); |
||
44 | 3 | ||
45 | return $this; |
||
46 | } |
||
47 | |||
66 |