diff --git a/src/Auth0/Login/Auth0JWTUser.php b/src/Auth0/Login/Auth0JWTUser.php index 7ac637e8..1dc7e5f9 100644 --- a/src/Auth0/Login/Auth0JWTUser.php +++ b/src/Auth0/Login/Auth0JWTUser.php @@ -71,7 +71,7 @@ public function getRememberTokenName() /** * Add a generic getter to get all the properties of the userInfo. * - * @return the related value or null if it is not set + * @return mixed the related value or null if it is not set */ public function __get($name) { diff --git a/src/Auth0/Login/Auth0User.php b/src/Auth0/Login/Auth0User.php index 67351bfe..2f07e5ea 100644 --- a/src/Auth0/Login/Auth0User.php +++ b/src/Auth0/Login/Auth0User.php @@ -14,8 +14,8 @@ class Auth0User implements \Illuminate\Contracts\Auth\Authenticatable /** * Auth0User constructor. * - * @param $userInfo - * @param $accessToken + * @param array $userInfo + * @param string|null $accessToken */ public function __construct($userInfo, $accessToken) { diff --git a/src/Auth0/Login/Contract/Auth0UserRepository.php b/src/Auth0/Login/Contract/Auth0UserRepository.php index a87fbc14..9e7ae0ea 100644 --- a/src/Auth0/Login/Contract/Auth0UserRepository.php +++ b/src/Auth0/Login/Contract/Auth0UserRepository.php @@ -5,7 +5,7 @@ interface Auth0UserRepository { /** - * @param stdClass $jwt with the data provided in the JWT + * @param \stdClass $jwt with the data provided in the JWT * * @return \Illuminate\Contracts\Auth\Authenticatable */ @@ -19,7 +19,7 @@ public function getUserByDecodedJWT($jwt); public function getUserByUserInfo($userInfo); /** - * @param $identifier the user id + * @param mixed $identifier the user id * * @return \Illuminate\Contracts\Auth\Authenticatable */ diff --git a/src/Auth0/Login/Repository/Auth0UserRepository.php b/src/Auth0/Login/Repository/Auth0UserRepository.php index af64182e..29e2fd94 100644 --- a/src/Auth0/Login/Repository/Auth0UserRepository.php +++ b/src/Auth0/Login/Repository/Auth0UserRepository.php @@ -9,7 +9,7 @@ class Auth0UserRepository implements Auth0UserRepositoryContract { /** - * @param \Auth0\Login\Contract\stdClass $jwt + * @param \stdClass $jwt * * @return Auth0JWTUser */ @@ -29,7 +29,7 @@ public function getUserByUserInfo($userInfo) } /** - * @param \Auth0\Login\Contract\the $identifier + * @param mixed $identifier * * @return Auth0User|\Illuminate\Contracts\Auth\Authenticatable|null */