Skip to content

Commit 7ddee68

Browse files
authored
Merge pull request #4 from oniz93/master
Removed return type "Token" on "find" method
2 parents fa82bf5 + 26fb725 commit 7ddee68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CacheTokenRepository.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function __construct(string $cacheKey = null, int $expiresInSeconds = nul
4444
*
4545
* @return \Laravel\Passport\Token
4646
*/
47-
public function find($id): Token
47+
public function find($id)
4848
{
4949
return Cache::remember($this->cacheKey . $id, \now()->addSeconds($this->expiresInSeconds), function () use ($id) {
5050
return Passport::token()->where('id', $id)->first();

0 commit comments

Comments
 (0)