Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed PHPDocs #170

Merged
merged 1 commit into from
Mar 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Auth0/Login/Auth0JWTUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Auth0/Login/Auth0User.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Auth0/Login/Contract/Auth0UserRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand All @@ -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
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Auth0/Login/Repository/Auth0UserRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class Auth0UserRepository implements Auth0UserRepositoryContract
{
/**
* @param \Auth0\Login\Contract\stdClass $jwt
* @param \stdClass $jwt
*
* @return Auth0JWTUser
*/
Expand All @@ -29,7 +29,7 @@ public function getUserByUserInfo($userInfo)
}

/**
* @param \Auth0\Login\Contract\the $identifier
* @param mixed $identifier
*
* @return Auth0User|\Illuminate\Contracts\Auth\Authenticatable|null
*/
Expand Down