diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2012-07-09 14:50:58 +0200 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2012-07-09 14:54:20 +0200 |
commit | 1c06ef124bde94f6b29634801b84ea9fa9149c31 (patch) | |
tree | fa4af2ca5aeb42b2b14cb3a3e8213e0c8b864dce /Core/Authentication/RememberMe | |
parent | f5719bac71c1b44dfdd48ccc9249edfde94c3204 (diff) | |
download | symfony-security-1c06ef124bde94f6b29634801b84ea9fa9149c31.zip symfony-security-1c06ef124bde94f6b29634801b84ea9fa9149c31.tar.gz symfony-security-1c06ef124bde94f6b29634801b84ea9fa9149c31.tar.bz2 |
fixed CS
Diffstat (limited to 'Core/Authentication/RememberMe')
-rw-r--r-- | Core/Authentication/RememberMe/PersistentTokenInterface.php | 10 | ||||
-rw-r--r-- | Core/Authentication/RememberMe/TokenProviderInterface.php | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/Core/Authentication/RememberMe/PersistentTokenInterface.php b/Core/Authentication/RememberMe/PersistentTokenInterface.php index 38acbc3..6e9d891 100644 --- a/Core/Authentication/RememberMe/PersistentTokenInterface.php +++ b/Core/Authentication/RememberMe/PersistentTokenInterface.php @@ -23,29 +23,29 @@ interface PersistentTokenInterface * Returns the class of the user * @return string */ - function getClass(); + public function getClass(); /** * Returns the username * @return string */ - function getUsername(); + public function getUsername(); /** * Returns the series * @return string */ - function getSeries(); + public function getSeries(); /** * Returns the token value * @return string */ - function getTokenValue(); + public function getTokenValue(); /** * Returns the last time the cookie was used * @return \DateTime */ - function getLastUsed(); + public function getLastUsed(); } diff --git a/Core/Authentication/RememberMe/TokenProviderInterface.php b/Core/Authentication/RememberMe/TokenProviderInterface.php index db40a1c..c8cfbd1 100644 --- a/Core/Authentication/RememberMe/TokenProviderInterface.php +++ b/Core/Authentication/RememberMe/TokenProviderInterface.php @@ -27,14 +27,14 @@ interface TokenProviderInterface * * @return PersistentTokenInterface */ - function loadTokenBySeries($series); + public function loadTokenBySeries($series); /** * Deletes all tokens belonging to series. * * @param string $series */ - function deleteTokenBySeries($series); + public function deleteTokenBySeries($series); /** * Updates the token according to this data. @@ -43,12 +43,12 @@ interface TokenProviderInterface * @param string $tokenValue * @param DateTime $lastUsed */ - function updateToken($series, $tokenValue, \DateTime $lastUsed); + public function updateToken($series, $tokenValue, \DateTime $lastUsed); /** * Creates a new token. * * @param PersistentTokenInterface $token */ - function createNewToken(PersistentTokenInterface $token); + public function createNewToken(PersistentTokenInterface $token); } |