Skip to content

Commit 11a7ccc

Browse files
committed
SAML: Set static type to pass static checks
Not totally clear if underlying code can actually return null, but playing it safe to remain as-is for now for patch release.
1 parent d9b9e6c commit 11a7ccc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/Access/Saml2Service.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ public function processSlsResponse(?string $requestId): string
133133
// value so that the exact encoding format is matched when checking the signature.
134134
// This is primarily due to ADFS encoding query params with lowercase percent encoding while
135135
// PHP (And most other sensible providers) standardise on uppercase.
136+
/** @var ?string $samlRedirect */
136137
$samlRedirect = $toolkit->processSLO(true, $requestId, true, null, true);
137138
$errors = $toolkit->getErrors();
138139

0 commit comments

Comments
 (0)