diff options
author | Javier Eguiluz <javier.eguiluz@gmail.com> | 2015-06-10 20:30:03 +0200 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2015-06-15 18:26:34 +0200 |
commit | 36cde602d02d84b7a176912a8e01ed8e3c7ab85c (patch) | |
tree | 72b9f8f8c1a0dd48b833ebcf77da14b19d569b4d /Http/RememberMe/AbstractRememberMeServices.php | |
parent | 86642118470f5301b4e29b8fb7d3dfe876c2e83e (diff) | |
download | symfony-security-36cde602d02d84b7a176912a8e01ed8e3c7ab85c.zip symfony-security-36cde602d02d84b7a176912a8e01ed8e3c7ab85c.tar.gz symfony-security-36cde602d02d84b7a176912a8e01ed8e3c7ab85c.tar.bz2 |
Standardize the name of the exception variables
Diffstat (limited to 'Http/RememberMe/AbstractRememberMeServices.php')
-rw-r--r-- | Http/RememberMe/AbstractRememberMeServices.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Http/RememberMe/AbstractRememberMeServices.php b/Http/RememberMe/AbstractRememberMeServices.php index 16f7831..1ba2df6 100644 --- a/Http/RememberMe/AbstractRememberMeServices.php +++ b/Http/RememberMe/AbstractRememberMeServices.php @@ -123,21 +123,21 @@ abstract class AbstractRememberMeServices implements RememberMeServicesInterface } return new RememberMeToken($user, $this->providerKey, $this->key); - } catch (CookieTheftException $theft) { + } catch (CookieTheftException $e) { $this->cancelCookie($request); - throw $theft; - } catch (UsernameNotFoundException $notFound) { + throw $e; + } catch (UsernameNotFoundException $e) { if (null !== $this->logger) { $this->logger->info('User for remember-me cookie not found.'); } - } catch (UnsupportedUserException $unSupported) { + } catch (UnsupportedUserException $e) { if (null !== $this->logger) { $this->logger->warning('User class for remember-me cookie not supported.'); } - } catch (AuthenticationException $invalid) { + } catch (AuthenticationException $e) { if (null !== $this->logger) { - $this->logger->debug('Remember-Me authentication failed: '.$invalid->getMessage()); + $this->logger->debug('Remember-Me authentication failed: '.$e->getMessage()); } } |