| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 3 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | // pass to header |
||
| 32 | 4 | $desc = new Desc($this->namespacesPaths, $this->sanitizeEncoding, $this->companyRegistrationNumber, $this->resolveOptions, $this->normalizerFactory); |
|
| 33 | 4 | $data = ['header' => $desc->setDirectionalVariable($this->useOneDirectionalVariables)->setData($data)]; |
|
| 34 | |||
| 35 | 4 | return parent::setData($data); |
|
|
|
|||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * {@inheritdoc} |
||
| 40 | */ |
||
| 41 | 3 | public function getXML(): \SimpleXMLElement |
|
| 42 | { |
||
| 43 | 3 | $xml = $this->createXML()->addChild('con:contract', '', $this->namespace('con')); |
|
| 60 |