| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 9 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 20 | public function create(AdjustmentInterface $adjustment, int $additionalAmount = 0): AdjustmentView  | 
            ||
| 21 |     { | 
            ||
| 22 | $adjustmentView = new AdjustmentView();  | 
            ||
| 23 | |||
| 24 | $adjustmentView->name = $adjustment->getLabel();  | 
            ||
| 25 | $adjustmentView->amount = $this->priceViewFactory->create($adjustment->getAmount() + $additionalAmount);  | 
            ||
| 26 | |||
| 27 | return $adjustmentView;  | 
            ||
| 28 | }  | 
            ||
| 29 | }  | 
            ||
| 30 |