Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
19 | 45 | public function addAttributeFromAttributeOrRef( |
|
20 | SchemaReader $reader, |
||
21 | DOMElement $childNode, |
||
22 | Schema $schema, |
||
23 | DOMElement $node |
||
24 | ) : void { |
||
25 | 45 | $attribute = Attribute::getAttributeFromAttributeOrRef( |
|
26 | 45 | $reader, |
|
27 | 45 | $childNode, |
|
28 | 45 | $schema, |
|
29 | 45 | $node |
|
30 | ); |
||
31 | |||
32 | 45 | $this->addAttribute($attribute); |
|
33 | 45 | } |
|
35 |