summaryrefslogtreecommitdiffstats
path: root/Core/Authentication/Token/UsernamePasswordToken.php
diff options
context:
space:
mode:
authorHugo Hamon <hugo.hamon@sensio.com>2012-05-01 13:13:14 +0100
committerHugo Hamon <hugo.hamon@sensio.com>2012-05-01 13:13:14 +0100
commit47bc63f4b8b81e860b81810def22fed6dc7d8d1f (patch)
treec6bb5c93271785fda2779c08f495fa2c16f0faf4 /Core/Authentication/Token/UsernamePasswordToken.php
parent7542f0c0a86cb52a4242d8f960b214cb6245123b (diff)
downloadsymfony-security-47bc63f4b8b81e860b81810def22fed6dc7d8d1f.zip
symfony-security-47bc63f4b8b81e860b81810def22fed6dc7d8d1f.tar.gz
symfony-security-47bc63f4b8b81e860b81810def22fed6dc7d8d1f.tar.bz2
[Security] added some missing phpdoc for AbstractToken::setUser() and UsernamePasswordToken::__construct() methods.
Diffstat (limited to 'Core/Authentication/Token/UsernamePasswordToken.php')
-rw-r--r--Core/Authentication/Token/UsernamePasswordToken.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Core/Authentication/Token/UsernamePasswordToken.php b/Core/Authentication/Token/UsernamePasswordToken.php
index 6c6ed5b..95eec54 100644
--- a/Core/Authentication/Token/UsernamePasswordToken.php
+++ b/Core/Authentication/Token/UsernamePasswordToken.php
@@ -24,7 +24,7 @@ class UsernamePasswordToken extends AbstractToken
/**
* Constructor.
*
- * @param string $user The username (like a nickname, email address, etc.)
+ * @param string $user The username (like a nickname, email address, etc.), or a UserInterface instance or an object implementing a __toString method.
* @param string $credentials This usually is the password of the user
* @param string $providerKey The provider key
* @param array $roles An array of roles