| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 45 | public function createWithData($type, $label, $amount, $neutral) |
||
| 46 | { |
||
| 47 | $adjustment = $this->createNew(); |
||
| 48 | $adjustment->setType($type); |
||
| 49 | $adjustment->setDescription($label); |
||
| 50 | $adjustment->setAmount($amount); |
||
| 51 | $adjustment->setNeutral($neutral); |
||
| 52 | |||
| 53 | return $adjustment; |
||
| 54 | } |
||
| 55 | } |
||
| 56 |