diff --git a/src/CachesValue.php b/src/CachesValue.php index 12e59c5..c41a768 100644 --- a/src/CachesValue.php +++ b/src/CachesValue.php @@ -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');