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