summaryrefslogtreecommitdiffstats
path: root/Core/Authentication/Token/AnonymousToken.php
diff options
context:
space:
mode:
authorThomas Lallement <thomas.lallement@9online.fr>2012-11-01 16:08:59 +0100
committerFabien Potencier <fabien.potencier@gmail.com>2012-11-19 13:58:52 +0100
commit0030e8b836634073a97465fca0743159e4937343 (patch)
tree7b693529cc29eb209bac85c3ea5b373af0732a18 /Core/Authentication/Token/AnonymousToken.php
parent706855841105f0befced9a7ae8b47b9d48a86f4e (diff)
downloadsymfony-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.php10
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);
}
}