Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
32 | 135 | protected function findSomeTypeFromAttribute( |
|
33 | SchemaItem $fromThis, |
||
34 | DOMElement $node, |
||
35 | $attributeName |
||
36 | ) { |
||
37 | /** |
||
38 | * @var SchemaItem |
||
39 | */ |
||
40 | 135 | $out = $this->findSomething( |
|
41 | 135 | 'findType', |
|
42 | 135 | $fromThis->getSchema(), |
|
43 | 135 | $node, |
|
44 | 90 | $attributeName |
|
45 | 45 | ); |
|
46 | |||
47 | 135 | return $out; |
|
48 | } |
||
50 |