Skip to content

Commit

Permalink
Refactor cache handling in Filter class
Browse files Browse the repository at this point in the history
  • Loading branch information
Thavarshan committed Apr 24, 2024
1 parent f35f81f commit 1846f69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Filterable/Filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ public function clearCache(): void
public function getCacheHandler(): Cache
{
if (is_null($this->cache)) {
$this->cache = cache();
$this->cache = app(Cache::class);
}

return $this->cache;
Expand Down

0 comments on commit 1846f69

Please sign in to comment.