summaryrefslogtreecommitdiffstats
path: root/Core/Authentication/Token/PreAuthenticatedToken.php
diff options
context:
space:
mode:
Diffstat (limited to 'Core/Authentication/Token/PreAuthenticatedToken.php')
-rw-r--r--Core/Authentication/Token/PreAuthenticatedToken.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Core/Authentication/Token/PreAuthenticatedToken.php b/Core/Authentication/Token/PreAuthenticatedToken.php
index 1798203..5a3fc95 100644
--- a/Core/Authentication/Token/PreAuthenticatedToken.php
+++ b/Core/Authentication/Token/PreAuthenticatedToken.php
@@ -26,7 +26,7 @@ class PreAuthenticatedToken extends AbstractToken
/**
* Constructor.
*
- * @param string|object $user The user
+ * @param string|object $user The user can be a UserInterface instance, or an object implementing a __toString method or the username as a regular string.
* @param mixed $credentials The user credentials
* @param string $providerKey The provider key
* @param RoleInterface[]|string[] $roles An array of roles