| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 44 | 2 | public function __construct( |
|
| 45 | $id, |
||
| 46 | TypeInterface $type, |
||
| 47 | TargetInterface $target, |
||
| 48 | UnitInterface $unit, |
||
| 49 | Currency $currency, |
||
| 50 | array $prices |
||
| 51 | ) { |
||
| 52 | 2 | parent::__construct($id, $type, $target); |
|
| 53 | 2 | $this->unit = $unit; |
|
| 54 | 2 | $this->currency = $currency; |
|
| 55 | 2 | $this->prices = $prices; |
|
| 56 | 2 | } |
|
| 57 | |||
| 91 |