| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | 4 | public function setData(Common\Dtos\AbstractDto $data): parent |
|
| 18 | { |
||
| 19 | // pass to header |
||
| 20 | 4 | $header = new StockTransfer\Header($this->dependenciesFactory); |
|
| 21 | 4 | $header |
|
| 22 | 4 | ->setDirectionalVariable($this->useOneDirectionalVariables) |
|
| 23 | 4 | ->setResolveOptions($this->resolveOptions) |
|
| 24 | 4 | ->setData($data); |
|
| 25 | 4 | $data = new StockTransfer\StockTransferDto(); |
|
| 26 | 4 | $data->header = $header; |
|
| 27 | |||
| 28 | 4 | return parent::setData($data); |
|
|
|
|||
| 29 | } |
||
| 76 |