[2.3][Component/Security] Fixed phpdoc in AnonymousToken constructor for user param
This commit is contained in:
parent
f1a87dbb58
commit
b1c60b4f0d
|
@ -26,7 +26,7 @@ class AnonymousToken extends AbstractToken
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
* @param string $key The key shared with the authentication provider
|
* @param string $key The key shared with the authentication provider
|
||||||
* @param string $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 RoleInterface[] $roles An array of roles
|
* @param RoleInterface[] $roles An array of roles
|
||||||
*/
|
*/
|
||||||
public function __construct($key, $user, array $roles = array())
|
public function __construct($key, $user, array $roles = array())
|
||||||
|
|
|
@ -26,7 +26,7 @@ class PreAuthenticatedToken extends AbstractToken
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* 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 mixed $credentials The user credentials
|
||||||
* @param string $providerKey The provider key
|
* @param string $providerKey The provider key
|
||||||
* @param RoleInterface[]|string[] $roles An array of roles
|
* @param RoleInterface[]|string[] $roles An array of roles
|
||||||
|
|
Reference in New Issue