mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-25 09:42:10 +08:00
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.
This commit is contained in:
parent
d9b9e6c0b1
commit
11a7ccc37e
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user