Skip to content

Commit

Permalink
set cache key correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
markvaneijk committed Apr 17, 2024
1 parent 3e32661 commit 68fdc8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CachesValue.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ private static function parseCacheString($class, ?string $store): array
$cacheDriver = substr($store, 0, strpos($store, ':'));
$cacheKey = substr($store, strpos($store, ':') + 1);
} else {
$cacheDriver = $store;
$cacheKey = $store;
}

$cacheDriver ??= config('cache.default');
Expand Down

0 comments on commit 68fdc8c

Please sign in to comment.