We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91ab10f commit 9dc468fCopy full SHA for 9dc468f
1 file changed
src/SAML2/XML/shibmd/Scope.php
@@ -74,8 +74,7 @@ public static function fromXML(DOMElement $xml): static
74
Assert::same($xml->namespaceURI, Scope::NS, InvalidDOMElementException::class);
75
76
$scope = $xml->textContent;
77
- /** @psalm-var bool $regexp */
78
- $regexp = self::getBooleanAttribute($xml, 'regexp', 'false');
+ $regexp = self::getBooleanAttribute($xml, 'regexp', false);
79
80
return new static($scope, $regexp);
81
}
0 commit comments