We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c72cde3 commit 023546eCopy full SHA for 023546e
src/TypedTextContentTrait.php
@@ -67,7 +67,7 @@ public static function fromXML(DOMElement $xml): static
67
Assert::same($xml->localName, static::getLocalName(), InvalidDOMElementException::class);
68
Assert::same($xml->namespaceURI, static::NS, InvalidDOMElementException::class);
69
70
- $type = self::getTextContentType();
+ $type = static::getTextContentType();
71
if ($type === QNameValue::class) {
72
$qName = QNameValue::fromDocument($xml->textContent, $xml);
73
$text = $qName->getRawValue();
0 commit comments