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