We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f93fb13 commit e180986Copy full SHA for e180986
src/CacheQueryServiceProvider.php
@@ -92,7 +92,7 @@ protected function macro(): Closure
92
match (true) {
93
$ttl instanceof Closure => $ttl($cache),
94
! $ttl instanceof Cache => $cache->ttl($ttl),
95
- default => $ttl
+ default => $cache = $ttl
96
};
97
98
// Normalize the TTL argument to a Cache instance.
0 commit comments