| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 43 | 1 | public function addAdvancePaymentItem(Invoice\AdvancePaymentItemDto $data): self |
|
| 44 | { |
||
| 45 | 1 | $invoiceDetail = new Invoice\AdvancePaymentItem($this->dependenciesFactory); |
|
| 46 | 1 | $invoiceDetail |
|
| 47 | 1 | ->setDirectionalVariable($this->useOneDirectionalVariables) |
|
| 48 | 1 | ->setResolveOptions($this->resolveOptions) |
|
| 49 | 1 | ->setData($data); |
|
| 50 | 1 | $this->data->invoiceDetail[] = $invoiceDetail; |
|
| 51 | |||
| 52 | 1 | return $this; |
|
| 53 | } |
||
| 79 |