diff --git a/app/Http/Middleware/Idempotency.php b/app/Http/Middleware/Idempotency.php index 0cf3eb1..c94a348 100644 --- a/app/Http/Middleware/Idempotency.php +++ b/app/Http/Middleware/Idempotency.php @@ -102,7 +102,7 @@ protected function hasCache(): bool */ protected function getCache(): array { - return Cache::get($this->resolveCacheKey()); + return (array) Cache::get($this->resolveCacheKey()); } /**