summaryrefslogtreecommitdiffstats
path: root/Core/Authentication/Token/UsernamePasswordToken.php
diff options
context:
space:
mode:
authorChristophe Coevoet <stof@notk.org>2014-10-24 11:21:28 +0200
committerChristophe Coevoet <stof@notk.org>2014-10-24 11:21:28 +0200
commit573f2ce8b9c550c2b8215fd590619d52dae7f9cc (patch)
treec67bbadb38b9f4de2eacadb428651ef08529264b /Core/Authentication/Token/UsernamePasswordToken.php
parentcd022841a94f02dd95541fee4cc4a09c4b053d01 (diff)
downloadsymfony-security-573f2ce8b9c550c2b8215fd590619d52dae7f9cc.zip
symfony-security-573f2ce8b9c550c2b8215fd590619d52dae7f9cc.tar.gz
symfony-security-573f2ce8b9c550c2b8215fd590619d52dae7f9cc.tar.bz2
Improved the phpdoc for security token classes
Diffstat (limited to 'Core/Authentication/Token/UsernamePasswordToken.php')
-rw-r--r--Core/Authentication/Token/UsernamePasswordToken.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/Core/Authentication/Token/UsernamePasswordToken.php b/Core/Authentication/Token/UsernamePasswordToken.php
index b6dfce4..9248136 100644
--- a/Core/Authentication/Token/UsernamePasswordToken.php
+++ b/Core/Authentication/Token/UsernamePasswordToken.php
@@ -26,10 +26,10 @@ class UsernamePasswordToken extends AbstractToken
/**
* Constructor.
*
- * @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 RoleInterface[] $roles An array of roles
+ * @param string|object $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 RoleInterface[]|string[] $roles An array of roles
*
* @throws \InvalidArgumentException
*/