Skip to content

Commit eb056a0

Browse files
authored
Merge pull request #170 from YAhiru/patch-fix-phpdocs
Fixed PHPDocs
2 parents 2e7ecd5 + 98e04c0 commit eb056a0

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/Auth0/Login/Auth0JWTUser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function getRememberTokenName()
7171
/**
7272
* Add a generic getter to get all the properties of the userInfo.
7373
*
74-
* @return the related value or null if it is not set
74+
* @return mixed the related value or null if it is not set
7575
*/
7676
public function __get($name)
7777
{

src/Auth0/Login/Auth0User.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ class Auth0User implements \Illuminate\Contracts\Auth\Authenticatable
1414
/**
1515
* Auth0User constructor.
1616
*
17-
* @param $userInfo
18-
* @param $accessToken
17+
* @param array $userInfo
18+
* @param string|null $accessToken
1919
*/
2020
public function __construct($userInfo, $accessToken)
2121
{

src/Auth0/Login/Contract/Auth0UserRepository.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
interface Auth0UserRepository
66
{
77
/**
8-
* @param stdClass $jwt with the data provided in the JWT
8+
* @param \stdClass $jwt with the data provided in the JWT
99
*
1010
* @return \Illuminate\Contracts\Auth\Authenticatable
1111
*/
@@ -19,7 +19,7 @@ public function getUserByDecodedJWT($jwt);
1919
public function getUserByUserInfo($userInfo);
2020

2121
/**
22-
* @param $identifier the user id
22+
* @param mixed $identifier the user id
2323
*
2424
* @return \Illuminate\Contracts\Auth\Authenticatable
2525
*/

src/Auth0/Login/Repository/Auth0UserRepository.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
class Auth0UserRepository implements Auth0UserRepositoryContract
1010
{
1111
/**
12-
* @param \Auth0\Login\Contract\stdClass $jwt
12+
* @param \stdClass $jwt
1313
*
1414
* @return Auth0JWTUser
1515
*/
@@ -29,7 +29,7 @@ public function getUserByUserInfo($userInfo)
2929
}
3030

3131
/**
32-
* @param \Auth0\Login\Contract\the $identifier
32+
* @param mixed $identifier
3333
*
3434
* @return Auth0User|\Illuminate\Contracts\Auth\Authenticatable|null
3535
*/

0 commit comments

Comments
 (0)