From 51da8acb0a48dadfa5e12398d1da94ddc37ea929 Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Sat, 13 Jan 2024 20:23:10 +0100 Subject: [PATCH] Fix pass by reference --- src/IdP/ADFS.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IdP/ADFS.php b/src/IdP/ADFS.php index 260b264..bba6228 100644 --- a/src/IdP/ADFS.php +++ b/src/IdP/ADFS.php @@ -53,7 +53,7 @@ public static function receiveAuthnRequest(Request $request, IdP $idp): Streamed } return new StreamedResponse( - function () use ($idp, $state) { + function () use ($idp, &$state) { $idp->handleAuthenticationRequest($state); } );