From 9ffda40d4b6ac7418890edeced6a805662941630 Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tvdijen@gmail.com> Date: Tue, 25 Aug 2020 22:36:38 +0200 Subject: [PATCH] Remove dead annotation --- modules/saml/www/sp/saml2-acs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/saml/www/sp/saml2-acs.php b/modules/saml/www/sp/saml2-acs.php index b287ef5b4..ff80e3c3c 100644 --- a/modules/saml/www/sp/saml2-acs.php +++ b/modules/saml/www/sp/saml2-acs.php @@ -69,7 +69,7 @@ $issuer = $issuer->getValue(); $session = Session::getSessionFromRequest(); $prevAuth = $session->getAuthData($sourceId, 'saml:sp:prevAuth'); -/** @psalm-var string $issuer */ + if ($prevAuth !== null && $prevAuth['id'] === $response->getId() && $prevAuth['issuer'] === $issuer) { /* OK, it looks like this message has the same issuer * and ID as the SP session we already have active. We -- GitLab