Skip to content

Commit d3a3960

Browse files
authored
Merge pull request #11 from maher1337/patch-1
2 parents 4a64b3c + 5cddd41 commit d3a3960

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CacheTokenRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function __construct(string $cacheKeyPrefix = null, int $expiresInSeconds
5353
*
5454
* @return \Laravel\Passport\Token
5555
*/
56-
public function find($id): Token
56+
public function find($id): ?Token
5757
{
5858
return $this->cacheStore()->remember(
5959
$this->itemKey($id),

0 commit comments

Comments
 (0)