]> BookStack Code Mirror - bookstack/blobdiff - app/Auth/Access/Saml2Service.php
Updated minimum php version from 7.3 to 7.4
[bookstack] / app / Auth / Access / Saml2Service.php
index ad889faf7c158767f74f8e20fcbbfce8268e0b70..f5d0cd7ccf57ee61fd863c8a85f5f9144d71db75 100644 (file)
@@ -99,7 +99,7 @@ class Saml2Service
      * @throws JsonDebugException
      * @throws UserRegistrationException
      */
-    public function processAcsResponse(string $requestId, string $samlResponse): ?User
+    public function processAcsResponse(?string $requestId, string $samlResponse): ?User
     {
         // The SAML2 toolkit expects the response to be within the $_POST superglobal
         // so we need to manually put it back there at this point.