We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fa82bf5 + 26fb725 commit 7ddee68Copy full SHA for 7ddee68
src/CacheTokenRepository.php
@@ -44,7 +44,7 @@ public function __construct(string $cacheKey = null, int $expiresInSeconds = nul
44
*
45
* @return \Laravel\Passport\Token
46
*/
47
- public function find($id): Token
+ public function find($id)
48
{
49
return Cache::remember($this->cacheKey . $id, \now()->addSeconds($this->expiresInSeconds), function () use ($id) {
50
return Passport::token()->where('id', $id)->first();
0 commit comments