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 4c5a341 commit fd73d4bCopy full SHA for fd73d4b
src/Type/QNameValue.php
@@ -144,7 +144,7 @@ public static function fromParts(
144
): static {
145
if ($namespaceURI === null) {
146
// If we don't have a namespace, we can't have a prefix either
147
- Assert::null($namespacePrefix->getValue(), SchemaViolationException::class);
+ Assert::null($namespacePrefix, SchemaViolationException::class);
148
return new static($localName->getValue());
149
}
150
0 commit comments