Skip to content

Commit 9d06ba7

Browse files
authored
Fixed remove empty cache entry method
It didn't actually remove the cache entry because cache store was not specified.
1 parent 55ab04e commit 9d06ba7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ProviderAndDumperAggregator.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,9 @@ protected function preventCacheKeyHashCollision(
320320
protected function removeEmptyCacheEntry(Collection $result, string $cacheKey)
321321
{
322322
if ($result && $result->isEmpty()) {
323-
app('cache')->forget($cacheKey);
323+
app('cache')
324+
->store(config('geocoder.cache.store'))
325+
->forget($cacheKey);
324326
}
325327
}
326328

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy