Skip to content

Commit 023546e

Browse files
committed
s/self/static
1 parent c72cde3 commit 023546e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TypedTextContentTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public static function fromXML(DOMElement $xml): static
6767
Assert::same($xml->localName, static::getLocalName(), InvalidDOMElementException::class);
6868
Assert::same($xml->namespaceURI, static::NS, InvalidDOMElementException::class);
6969

70-
$type = self::getTextContentType();
70+
$type = static::getTextContentType();
7171
if ($type === QNameValue::class) {
7272
$qName = QNameValue::fromDocument($xml->textContent, $xml);
7373
$text = $qName->getRawValue();

0 commit comments

Comments
 (0)