summaryrefslogtreecommitdiffstats
path: root/Core/Authentication/Token
diff options
context:
space:
mode:
authorPascal Borreli <pascal@borreli.com>2011-04-23 15:05:44 +0000
committerPascal Borreli <pascal@borreli.com>2011-04-23 15:18:47 +0000
commite2231da7eadcdc2ec5ac5be89ce3d21422dfafd6 (patch)
treef32c9af26b3d40607668ea13c1ed307549b15b4f /Core/Authentication/Token
parentbadc0d6f36373b81ab66c48342e024649321700f (diff)
downloadsymfony-security-e2231da7eadcdc2ec5ac5be89ce3d21422dfafd6.zip
symfony-security-e2231da7eadcdc2ec5ac5be89ce3d21422dfafd6.tar.gz
symfony-security-e2231da7eadcdc2ec5ac5be89ce3d21422dfafd6.tar.bz2
[Phpdoc] Cleaning/fixing
Diffstat (limited to 'Core/Authentication/Token')
-rw-r--r--Core/Authentication/Token/UsernamePasswordToken.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/Core/Authentication/Token/UsernamePasswordToken.php b/Core/Authentication/Token/UsernamePasswordToken.php
index 67311db..6c6ed5b 100644
--- a/Core/Authentication/Token/UsernamePasswordToken.php
+++ b/Core/Authentication/Token/UsernamePasswordToken.php
@@ -24,8 +24,12 @@ 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.)
* @param string $credentials This usually is the password of the user
+ * @param string $providerKey The provider key
+ * @param array $roles An array of roles
+ *
+ * @throws \InvalidArgumentException
*/
public function __construct($user, $credentials, $providerKey, array $roles = array())
{