Skip to content

Commit

Permalink
Use forget method from laravel cache repo
Browse files Browse the repository at this point in the history
  • Loading branch information
threesquared authored and kamermans committed Feb 6, 2019
1 parent f1f949f commit f76ddbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Persistence/Laravel5CacheTokenPersistence.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function restoreToken(TokenInterface $token)

public function deleteToken()
{
$this->cache->delete($this->cacheKey);
$this->cache->forget($this->cacheKey);
}

public function hasToken()
Expand Down

0 comments on commit f76ddbc

Please sign in to comment.