| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 6 | 
| Code Lines | 3 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php | ||
| 53 | public static function fromXML(DOMElement $xml): object | ||
| 54 |     { | ||
| 55 | Assert::same($xml->localName, 'AuthenticatingAuthority', InvalidDOMElementException::class); | ||
| 56 | Assert::same($xml->namespaceURI, AuthenticatingAuthority::NS, InvalidDOMElementException::class); | ||
| 57 | |||
| 58 | return new self($xml->textContent); | ||
| 59 | } | ||
| 62 |