summaryrefslogtreecommitdiffstats
path: root/Guard/Token
diff options
context:
space:
mode:
authorChristian Flothmann <christian.flothmann@sensiolabs.de>2016-11-28 08:59:03 +0100
committerChristian Flothmann <christian.flothmann@sensiolabs.de>2016-12-07 09:55:32 +0100
commita39290c2fc59213b11f62bbce19e366ac69dbf8b (patch)
treeb7621cb909b1756a5df39f05072b18ffebbb8fda /Guard/Token
parent63744a5bb1e02c4ce0e017d701882ac1587c79e0 (diff)
downloadsymfony-security-a39290c2fc59213b11f62bbce19e366ac69dbf8b.zip
symfony-security-a39290c2fc59213b11f62bbce19e366ac69dbf8b.tar.gz
symfony-security-a39290c2fc59213b11f62bbce19e366ac69dbf8b.tar.bz2
[Security] deprecate the RoleInterface
Diffstat (limited to 'Guard/Token')
-rw-r--r--Guard/Token/PostAuthenticationGuardToken.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/Guard/Token/PostAuthenticationGuardToken.php b/Guard/Token/PostAuthenticationGuardToken.php
index 36c40ca..6852d9e 100644
--- a/Guard/Token/PostAuthenticationGuardToken.php
+++ b/Guard/Token/PostAuthenticationGuardToken.php
@@ -12,7 +12,7 @@
namespace Symfony\Component\Security\Guard\Token;
use Symfony\Component\Security\Core\Authentication\Token\AbstractToken;
-use Symfony\Component\Security\Core\Role\RoleInterface;
+use Symfony\Component\Security\Core\Role\Role;
use Symfony\Component\Security\Core\User\UserInterface;
/**
@@ -28,9 +28,9 @@ class PostAuthenticationGuardToken extends AbstractToken implements GuardTokenIn
private $providerKey;
/**
- * @param UserInterface $user The user!
- * @param string $providerKey The provider (firewall) key
- * @param RoleInterface[]|string[] $roles An array of roles
+ * @param UserInterface $user The user!
+ * @param string $providerKey The provider (firewall) key
+ * @param (Role|string)[] $roles An array of roles
*
* @throws \InvalidArgumentException
*/