diff options
-rw-r--r-- | Guard/GuardAuthenticatorInterface.php | 2 | ||||
-rw-r--r-- | Http/EntryPoint/AuthenticationEntryPointInterface.php | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Guard/GuardAuthenticatorInterface.php b/Guard/GuardAuthenticatorInterface.php index 6e62ae6..947594c 100644 --- a/Guard/GuardAuthenticatorInterface.php +++ b/Guard/GuardAuthenticatorInterface.php @@ -83,6 +83,8 @@ interface GuardAuthenticatorInterface extends AuthenticationEntryPointInterface * * @param mixed $credentials * @param UserInterface $user + * + * @return bool * * @throws AuthenticationException */ diff --git a/Http/EntryPoint/AuthenticationEntryPointInterface.php b/Http/EntryPoint/AuthenticationEntryPointInterface.php index df777f6..9bade0c 100644 --- a/Http/EntryPoint/AuthenticationEntryPointInterface.php +++ b/Http/EntryPoint/AuthenticationEntryPointInterface.php @@ -32,7 +32,7 @@ interface AuthenticationEntryPointInterface * * Examples: * A) For a form login, you might redirect to the login page - * return new Response('/login'); + * return new RedirectResponse('/login'); * B) For an API token authentication system, you return a 401 response * return new Response('Auth header required', 401); * |