Skip to content

Commit d8cc347

Browse files
authored
Indicate current token can be TransientToken (#1627)
1 parent 9ee5bd9 commit d8cc347

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/HasApiTokens.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ trait HasApiTokens
99
/**
1010
* The current access token for the authentication user.
1111
*
12-
* @var \Laravel\Passport\Token
12+
* @var \Laravel\Passport\Token|\Laravel\Passport\TransientToken|null
1313
*/
1414
protected $accessToken;
1515

@@ -36,7 +36,7 @@ public function tokens()
3636
/**
3737
* Get the current access token being used by the user.
3838
*
39-
* @return \Laravel\Passport\Token|null
39+
* @return \Laravel\Passport\Token|\Laravel\Passport\TransientToken|null
4040
*/
4141
public function token()
4242
{

0 commit comments

Comments
 (0)