diff options
author | Graham Campbell <graham@mineuk.com> | 2014-11-30 13:33:44 +0000 |
---|---|---|
committer | Graham Campbell <graham@mineuk.com> | 2014-11-30 13:33:44 +0000 |
commit | e5dfe6a3e96c71e87c0ca9aa84115accd9ebb229 (patch) | |
tree | 197d405115891642eb8c9eb488b775251c427e98 /Core/Authentication | |
parent | c54f038a64896f2963a4412974b10cd341ac6e73 (diff) | |
download | symfony-security-e5dfe6a3e96c71e87c0ca9aa84115accd9ebb229.zip symfony-security-e5dfe6a3e96c71e87c0ca9aa84115accd9ebb229.tar.gz symfony-security-e5dfe6a3e96c71e87c0ca9aa84115accd9ebb229.tar.bz2 |
Docblock fixes
Diffstat (limited to 'Core/Authentication')
4 files changed, 8 insertions, 6 deletions
diff --git a/Core/Authentication/Provider/AuthenticationProviderInterface.php b/Core/Authentication/Provider/AuthenticationProviderInterface.php index 23724db..401df6d 100644 --- a/Core/Authentication/Provider/AuthenticationProviderInterface.php +++ b/Core/Authentication/Provider/AuthenticationProviderInterface.php @@ -29,7 +29,7 @@ interface AuthenticationProviderInterface extends AuthenticationManagerInterface * * @param TokenInterface $token A TokenInterface instance * - * @return bool true if the implementation supports the Token, false otherwise + * @return bool true if the implementation supports the Token, false otherwise */ public function supports(TokenInterface $token); } diff --git a/Core/Authentication/RememberMe/TokenProviderInterface.php b/Core/Authentication/RememberMe/TokenProviderInterface.php index 93ed8d3..67d0bdd 100644 --- a/Core/Authentication/RememberMe/TokenProviderInterface.php +++ b/Core/Authentication/RememberMe/TokenProviderInterface.php @@ -44,6 +44,7 @@ interface TokenProviderInterface * @param string $series * @param string $tokenValue * @param \DateTime $lastUsed + * * @throws TokenNotFoundException if the token is not found */ public function updateToken($series, $tokenValue, \DateTime $lastUsed); diff --git a/Core/Authentication/Token/AbstractToken.php b/Core/Authentication/Token/AbstractToken.php index 3982b08..c239f8c 100644 --- a/Core/Authentication/Token/AbstractToken.php +++ b/Core/Authentication/Token/AbstractToken.php @@ -89,6 +89,7 @@ abstract class AbstractToken implements TokenInterface * a __toString method or the username as a regular string. * * @param string|object $user The user + * * @throws \InvalidArgumentException */ public function setUser($user) @@ -192,7 +193,7 @@ abstract class AbstractToken implements TokenInterface * * @param string $name The attribute name * - * @return bool true if the attribute exists, false otherwise + * @return bool true if the attribute exists, false otherwise */ public function hasAttribute($name) { diff --git a/Core/Authentication/Token/TokenInterface.php b/Core/Authentication/Token/TokenInterface.php index 8f7d03f..fb9fd14 100644 --- a/Core/Authentication/Token/TokenInterface.php +++ b/Core/Authentication/Token/TokenInterface.php @@ -48,7 +48,7 @@ interface TokenInterface extends \Serializable * Returns a user representation. * * @return mixed either returns an object which implements __toString(), or - * a primitive string is returned. + * a primitive string is returned. */ public function getUser(); @@ -69,14 +69,14 @@ interface TokenInterface extends \Serializable /** * Returns whether the user is authenticated or not. * - * @return bool true if the token has been authenticated, false otherwise + * @return bool true if the token has been authenticated, false otherwise */ public function isAuthenticated(); /** * Sets the authenticated flag. * - * @param bool $isAuthenticated The authenticated flag + * @param bool $isAuthenticated The authenticated flag */ public function setAuthenticated($isAuthenticated); @@ -104,7 +104,7 @@ interface TokenInterface extends \Serializable * * @param string $name The attribute name * - * @return bool true if the attribute exists, false otherwise + * @return bool true if the attribute exists, false otherwise */ public function hasAttribute($name); |