diff options
author | Thomas Lallement <thomas.lallement@9online.fr> | 2012-11-01 16:08:59 +0100 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2012-11-19 13:58:52 +0100 |
commit | 0030e8b836634073a97465fca0743159e4937343 (patch) | |
tree | 7b693529cc29eb209bac85c3ea5b373af0732a18 /Core/Authentication/Token/AnonymousToken.php | |
parent | 706855841105f0befced9a7ae8b47b9d48a86f4e (diff) | |
download | symfony-security-0030e8b836634073a97465fca0743159e4937343.zip symfony-security-0030e8b836634073a97465fca0743159e4937343.tar.gz symfony-security-0030e8b836634073a97465fca0743159e4937343.tar.bz2 |
CS Fixes - Replaced "array of type" by "Type[]" in PHPDoc block
Diffstat (limited to 'Core/Authentication/Token/AnonymousToken.php')
-rw-r--r-- | Core/Authentication/Token/AnonymousToken.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Core/Authentication/Token/AnonymousToken.php b/Core/Authentication/Token/AnonymousToken.php index ecdd4cc..9b0a084 100644 --- a/Core/Authentication/Token/AnonymousToken.php +++ b/Core/Authentication/Token/AnonymousToken.php @@ -24,9 +24,9 @@ class AnonymousToken extends AbstractToken /** * Constructor. * - * @param string $key The key shared with the authentication provider - * @param string $user The user - * @param Role[] $roles An array of roles + * @param string $key The key shared with the authentication provider + * @param string $user The user + * @param RoleInterface[] $roles An array of roles */ public function __construct($key, $user, array $roles = array()) { @@ -66,9 +66,9 @@ class AnonymousToken extends AbstractToken /** * {@inheritDoc} */ - public function unserialize($str) + public function unserialize($serialized) { - list($this->key, $parentStr) = unserialize($str); + list($this->key, $parentStr) = unserialize($serialized); parent::unserialize($parentStr); } } |