| 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 addItem(StockTransfer\ItemDto $data): self |
|
| 44 | { |
||
| 45 | 1 | $prevodkaDetail = new StockTransfer\Item($this->dependenciesFactory); |
|
| 46 | 1 | $prevodkaDetail |
|
| 47 | 1 | ->setDirectionalVariable($this->useOneDirectionalVariables) |
|
| 48 | 1 | ->setResolveOptions($this->resolveOptions) |
|
| 49 | 1 | ->setData($data); |
|
| 50 | 1 | $this->data->prevodkaDetail[] = $prevodkaDetail; |
|
| 51 | |||
| 52 | 1 | return $this; |
|
| 53 | } |
||
| 76 |