Skip to content

NOW MANAGED ON CODEBERG

SAML: Set static type to pass static checks

Dan Brown11a7ccc37e6f
diff --git a/app/Access/Saml2Service.php b/app/Access/Saml2Service.php
index 664b77aba..bb7e9b572 100644
--- a/app/Access/Saml2Service.php
+++ b/app/Access/Saml2Service.php
@@ -133,6 +133,7 @@ class Saml2Service
// value so that the exact encoding format is matched when checking the signature.
// This is primarily due to ADFS encoding query params with lowercase percent encoding while
// PHP (And most other sensible providers) standardise on uppercase.
+ /** @var ?string $samlRedirect */
$samlRedirect = $toolkit->processSLO(true, $requestId, true, null, true);
$errors = $toolkit->getErrors();