From 99b78473f437eb34f27ce6817675c08b6b92b54c Mon Sep 17 00:00:00 2001 From: Jesper Skytte Marcussen Date: Thu, 3 Oct 2024 21:07:28 +0200 Subject: [PATCH] Remove wrong PHPDoc The processResponse method has no $stay variable and the @phpstan-return PHPDoc was giving me a hard time in PHPStan. --- src/Saml2/Auth.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Saml2/Auth.php b/src/Saml2/Auth.php index b8e53e08..35037031 100644 --- a/src/Saml2/Auth.php +++ b/src/Saml2/Auth.php @@ -220,7 +220,6 @@ public function setSchemasPath($path) * Process the SAML Response sent by the IdP. * * @param string|null $requestId The ID of the AuthNRequest sent by this SP to the IdP - * @phpstan-return ($stay is true ? string : never) * * @throws Error * @throws ValidationError