From 3b73eb72f8fb94d843f8b7acdd8289c50f297519 Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tim.dijen@minbzk.nl> Date: Sat, 22 Jan 2022 16:02:17 +0100 Subject: [PATCH] Fix namespace --- lib/SimpleSAML/Auth/ProcessingChain.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/SimpleSAML/Auth/ProcessingChain.php b/lib/SimpleSAML/Auth/ProcessingChain.php index 24f1df99a..eeba0d6b8 100644 --- a/lib/SimpleSAML/Auth/ProcessingChain.php +++ b/lib/SimpleSAML/Auth/ProcessingChain.php @@ -5,6 +5,7 @@ declare(strict_types=1); namespace SimpleSAML\Auth; use Exception; +use SAML2\Exception\Protocol\NoPassiveException; use SimpleSAML\Assert\Assert; use SimpleSAML\Configuration; use SimpleSAML\Error; @@ -289,7 +290,7 @@ class ProcessingChain $filter = array_shift($state[self::FILTERS_INDEX]); try { $filter->process($state); - } catch (SAML2\Exception\Protocol\NoPassiveException $e) { + } catch (NoPassiveException $e) { // Ignore \SAML2\Exception\Protocol\NoPassiveException exceptions } } -- GitLab