Skip to content

Commit 8c90121

Browse files
committed
Remove long-deprecated parameter
1 parent 3d4fa4a commit 8c90121

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/SimpleSAML/IdP.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -467,9 +467,7 @@ public function getLogoutHandler(): LogoutHandlerInterface
467467
public function finishLogout(array &$state): Response
468468
{
469469
Assert::notNull($state['Responder']);
470-
471-
$idp = IdP::getByState($this->globalConfig, $state);
472-
return call_user_func($state['Responder'], $idp, $state);
470+
return call_user_func($state['Responder'], $state);
473471
}
474472

475473

@@ -548,10 +546,9 @@ public function doLogoutRedirect(string $url): Response
548546
*
549547
* This function never returns.
550548
*
551-
* @param IdP $idp Deprecated. Will be removed.
552549
* @param array &$state The logout state from doLogoutRedirect().
553550
*/
554-
public static function finishLogoutRedirect(IdP $idp, array $state): RedirectResponse
551+
public static function finishLogoutRedirect(array $state): RedirectResponse
555552
{
556553
Assert::notNull($state['core:Logout:URL']);
557554

0 commit comments

Comments
 (0)