From 5296da339042223eaab428a5577d998f4c2b706f Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Fri, 11 Jul 2014 14:53:35 +0400 Subject: [PATCH] Adjusted phpdoc --- framework/web/IdentityInterface.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/web/IdentityInterface.php b/framework/web/IdentityInterface.php index 9ab11259f0..eab79086ec 100644 --- a/framework/web/IdentityInterface.php +++ b/framework/web/IdentityInterface.php @@ -57,8 +57,8 @@ interface IdentityInterface */ public static function findIdentity($id); /** - * Finds an identity by the given secrete token. - * @param string $token the secrete token + * Finds an identity by the given token. + * @param mixed $token the token to be looked for * @param mixed $type the type of the token. The value of this parameter depends on the implementation. * For example, [[\yii\filters\auth\HttpBearerAuth]] will set this parameter to be `yii\filters\auth\HttpBearerAuth`. * @return IdentityInterface the identity object that matches the given token.