summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Schultze <webmaster@tubo-world.de>2015-12-15 03:03:25 +0100
committerTobias Schultze <webmaster@tubo-world.de>2015-12-15 03:03:25 +0100
commit59d9a5becf9229364c874c92793e68ade4daccc9 (patch)
tree63057c98affaa67039faba87f390c64175aec677
parent968a425bd37e6df4b64bc6b7e6950acd7048d907 (diff)
parentb3b647719aca1f081db95bbbed9cf492b8a4d849 (diff)
downloadsymfony-security-59d9a5becf9229364c874c92793e68ade4daccc9.zip
symfony-security-59d9a5becf9229364c874c92793e68ade4daccc9.tar.gz
symfony-security-59d9a5becf9229364c874c92793e68ade4daccc9.tar.bz2
Merge branch '3.0'
-rw-r--r--Guard/GuardAuthenticatorInterface.php2
-rw-r--r--Http/EntryPoint/AuthenticationEntryPointInterface.php2
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);
*