Skip to content

Commit 9dc468f

Browse files
committed
Fix for getBooleanAttribute signature change
1 parent 91ab10f commit 9dc468f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/SAML2/XML/shibmd/Scope.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ public static function fromXML(DOMElement $xml): static
7474
Assert::same($xml->namespaceURI, Scope::NS, InvalidDOMElementException::class);
7575

7676
$scope = $xml->textContent;
77-
/** @psalm-var bool $regexp */
78-
$regexp = self::getBooleanAttribute($xml, 'regexp', 'false');
77+
$regexp = self::getBooleanAttribute($xml, 'regexp', false);
7978

8079
return new static($scope, $regexp);
8180
}

0 commit comments

Comments
 (0)