diff options
author | Pascal Borreli <pascal@borreli.com> | 2011-04-23 15:05:44 +0000 |
---|---|---|
committer | Pascal Borreli <pascal@borreli.com> | 2011-04-23 15:18:47 +0000 |
commit | e2231da7eadcdc2ec5ac5be89ce3d21422dfafd6 (patch) | |
tree | f32c9af26b3d40607668ea13c1ed307549b15b4f /Http | |
parent | badc0d6f36373b81ab66c48342e024649321700f (diff) | |
download | symfony-security-e2231da7eadcdc2ec5ac5be89ce3d21422dfafd6.zip symfony-security-e2231da7eadcdc2ec5ac5be89ce3d21422dfafd6.tar.gz symfony-security-e2231da7eadcdc2ec5ac5be89ce3d21422dfafd6.tar.bz2 |
[Phpdoc] Cleaning/fixing
Diffstat (limited to 'Http')
-rw-r--r-- | Http/EntryPoint/FormAuthenticationEntryPoint.php | 4 | ||||
-rw-r--r-- | Http/Firewall.php | 3 | ||||
-rw-r--r-- | Http/Firewall/LogoutListener.php | 7 | ||||
-rw-r--r-- | Http/Firewall/RememberMeListener.php | 8 | ||||
-rw-r--r-- | Http/Logout/CookieClearingLogoutHandler.php | 4 | ||||
-rw-r--r-- | Http/Logout/LogoutHandlerInterface.php | 4 | ||||
-rw-r--r-- | Http/Logout/SessionLogoutHandler.php | 4 | ||||
-rw-r--r-- | Http/RememberMe/AbstractRememberMeServices.php | 22 | ||||
-rw-r--r-- | Http/RememberMe/RememberMeServicesInterface.php | 4 |
9 files changed, 32 insertions, 28 deletions
diff --git a/Http/EntryPoint/FormAuthenticationEntryPoint.php b/Http/EntryPoint/FormAuthenticationEntryPoint.php index 2650a07..12f077f 100644 --- a/Http/EntryPoint/FormAuthenticationEntryPoint.php +++ b/Http/EntryPoint/FormAuthenticationEntryPoint.php @@ -33,8 +33,8 @@ class FormAuthenticationEntryPoint implements AuthenticationEntryPointInterface * Constructor * * @param HttpKernelInterface $kernel - * @param string $loginPath The path to the login form - * @param Boolean $useForward Whether to forward or redirect to the login form + * @param string $loginPath The path to the login form + * @param Boolean $useForward Whether to forward or redirect to the login form */ public function __construct(HttpKernelInterface $kernel, $loginPath, $useForward = false) { diff --git a/Http/Firewall.php b/Http/Firewall.php index d5af39b..774303d 100644 --- a/Http/Firewall.php +++ b/Http/Firewall.php @@ -35,7 +35,8 @@ class Firewall /** * Constructor. * - * @param FirewallMap $map A FirewallMap instance + * @param FirewallMap $map A FirewallMap instance + * @param EventDispatcherInterface $dispatcher An EventDispatcherInterface instance */ public function __construct(FirewallMapInterface $map, EventDispatcherInterface $dispatcher) { diff --git a/Http/Firewall/LogoutListener.php b/Http/Firewall/LogoutListener.php index 67c43d5..8ff9c8b 100644 --- a/Http/Firewall/LogoutListener.php +++ b/Http/Firewall/LogoutListener.php @@ -36,9 +36,10 @@ class LogoutListener implements ListenerInterface /** * Constructor * - * @param SecurityContextInterface $securityContext - * @param string $logoutPath The path that starts the logout process - * @param string $targetUrl The URL to redirect to after logout + * @param SecurityContextInterface $securityContext + * @param string $logoutPath The path that starts the logout process + * @param string $targetUrl The URL to redirect to after logout + * @param LogoutSuccessHandlerInterface $successHandler */ public function __construct(SecurityContextInterface $securityContext, $logoutPath, $targetUrl = '/', LogoutSuccessHandlerInterface $successHandler = null) { diff --git a/Http/Firewall/RememberMeListener.php b/Http/Firewall/RememberMeListener.php index db8910b..10ed8c6 100644 --- a/Http/Firewall/RememberMeListener.php +++ b/Http/Firewall/RememberMeListener.php @@ -43,11 +43,11 @@ class RememberMeListener implements ListenerInterface /** * Constructor * - * @param SecurityContext $securityContext - * @param RememberMeServicesInterface $rememberMeServices + * @param SecurityContext $securityContext + * @param RememberMeServicesInterface $rememberMeServices * @param AuthenticationManagerInterface $authenticationManager - * @param LoggerInterface $logger - * @param EventDispatcherInterface $dispatcher + * @param LoggerInterface $logger + * @param EventDispatcherInterface $dispatcher */ public function __construct(SecurityContext $securityContext, RememberMeServicesInterface $rememberMeServices, AuthenticationManagerInterface $authenticationManager, LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null) { diff --git a/Http/Logout/CookieClearingLogoutHandler.php b/Http/Logout/CookieClearingLogoutHandler.php index ebdcbed..65b45f2 100644 --- a/Http/Logout/CookieClearingLogoutHandler.php +++ b/Http/Logout/CookieClearingLogoutHandler.php @@ -36,8 +36,8 @@ class CookieClearingLogoutHandler implements LogoutHandlerInterface /** * Implementation for the LogoutHandlerInterface. Deletes all requested cookies. * - * @param Request $request - * @param Response $response + * @param Request $request + * @param Response $response * @param TokenInterface $token * @return void */ diff --git a/Http/Logout/LogoutHandlerInterface.php b/Http/Logout/LogoutHandlerInterface.php index 1d420b0..e3f0995 100644 --- a/Http/Logout/LogoutHandlerInterface.php +++ b/Http/Logout/LogoutHandlerInterface.php @@ -27,8 +27,8 @@ interface LogoutHandlerInterface * to be logged out. Usually, you would unset session variables, or remove * cookies, etc. * - * @param Request $request - * @param Response $response + * @param Request $request + * @param Response $response * @param TokenInterface $token * @return void */ diff --git a/Http/Logout/SessionLogoutHandler.php b/Http/Logout/SessionLogoutHandler.php index fad77da..bfb5ecd 100644 --- a/Http/Logout/SessionLogoutHandler.php +++ b/Http/Logout/SessionLogoutHandler.php @@ -25,8 +25,8 @@ class SessionLogoutHandler implements LogoutHandlerInterface /** * Invalidate the current session * - * @param Request $request - * @param Response $response + * @param Request $request + * @param Response $response * @param TokenInterface $token * @return void */ diff --git a/Http/RememberMe/AbstractRememberMeServices.php b/Http/RememberMe/AbstractRememberMeServices.php index b090e24..a7c63ef 100644 --- a/Http/RememberMe/AbstractRememberMeServices.php +++ b/Http/RememberMe/AbstractRememberMeServices.php @@ -44,8 +44,10 @@ abstract class AbstractRememberMeServices implements RememberMeServicesInterface /** * Constructor * - * @param array $userProviders - * @param array $options + * @param array $userProviders + * @param string $key + * @param string $providerKey + * @param array $options * @param LoggerInterface $logger */ public function __construct(array $userProviders, $key, $providerKey, array $options = array(), LoggerInterface $logger = null) @@ -140,8 +142,8 @@ abstract class AbstractRememberMeServices implements RememberMeServicesInterface /** * Implementation for LogoutHandlerInterface. Deletes the cookie. * - * @param Request $request - * @param Response $response + * @param Request $request + * @param Response $response * @param TokenInterface $token * @return void */ @@ -167,9 +169,9 @@ abstract class AbstractRememberMeServices implements RememberMeServicesInterface * Implementation for RememberMeServicesInterface. This is called when an * authentication is successful. * - * @param Request $request - * @param Response $response - * @param TokenInterface $token The token that resulted in a successful authentication + * @param Request $request + * @param Response $response + * @param TokenInterface $token The token that resulted in a successful authentication * @return void */ public final function loginSuccess(Request $request, Response $response, TokenInterface $token) @@ -201,7 +203,7 @@ abstract class AbstractRememberMeServices implements RememberMeServicesInterface * Subclasses should validate the cookie and do any additional processing * that is required. This is called from autoLogin(). * - * @param array $cookieParts + * @param array $cookieParts * @param Request $request * @return TokenInterface */ @@ -216,8 +218,8 @@ abstract class AbstractRememberMeServices implements RememberMeServicesInterface * requested remember-me capabilities. The implementation usually sets a * cookie and possibly stores a persistent record of it. * - * @param Request $request - * @param Response $response + * @param Request $request + * @param Response $response * @param TokenInterface $token * @return void */ diff --git a/Http/RememberMe/RememberMeServicesInterface.php b/Http/RememberMe/RememberMeServicesInterface.php index c740d28..5c56c18 100644 --- a/Http/RememberMe/RememberMeServicesInterface.php +++ b/Http/RememberMe/RememberMeServicesInterface.php @@ -74,8 +74,8 @@ interface RememberMeServicesInterface * (such as a HTTP POST parameter) that indicates the browser has explicitly * requested for the authentication to be remembered. * - * @param Request $request - * @param Response $response + * @param Request $request + * @param Response $response * @param TokenInterface $token * @return void */ |