Skip to content

Commit

Permalink
Fix pass by reference
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Jan 13, 2024
1 parent c40e5bc commit 51da8ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IdP/ADFS.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
);
Expand Down

0 comments on commit 51da8ac

Please sign in to comment.