Skip to content

Commit

Permalink
Update login-handler.md
Browse files Browse the repository at this point in the history
Cast return type from getRedirect in LoginHandler example to string, referenced by #17

Signed-off-by: sheridans <[email protected]>
  • Loading branch information
sheridans committed Oct 11, 2022
1 parent a87d92c commit baa53b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/book/v1/login-handler.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class LoginHandler implements RequestHandlerInterface
}
}

return $redirect;
return (string)$redirect;
}

private function handleLoginAttempt(
Expand Down

0 comments on commit baa53b3

Please sign in to comment.