Skip to content

Commit

Permalink
Indicate current token can be TransientToken (#1627)
Browse files Browse the repository at this point in the history
  • Loading branch information
axlon authored Feb 3, 2023
1 parent 9ee5bd9 commit d8cc347
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/HasApiTokens.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ trait HasApiTokens
/**
* The current access token for the authentication user.
*
* @var \Laravel\Passport\Token
* @var \Laravel\Passport\Token|\Laravel\Passport\TransientToken|null
*/
protected $accessToken;

Expand All @@ -36,7 +36,7 @@ public function tokens()
/**
* Get the current access token being used by the user.
*
* @return \Laravel\Passport\Token|null
* @return \Laravel\Passport\Token|\Laravel\Passport\TransientToken|null
*/
public function token()
{
Expand Down

0 comments on commit d8cc347

Please sign in to comment.