Skip to content

Commit

Permalink
FIX phpstan error (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
enricodelazzari committed Mar 22, 2024
1 parent e8ae3a6 commit bd18ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/MagicLoginController.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function __invoke(MagicLoginRequest $request): Redirector|RedirectRespons

return redirect($model->redirect_url);
} catch (Exception) {
auth()->guard($model?->guard)->logout();
auth()->guard()->logout();
throw Config::getException();
}
}
Expand Down

0 comments on commit bd18ae6

Please sign in to comment.