There was an error while loading. Please reload this page.
1 parent 73e21c6 commit f210e5aCopy full SHA for f210e5a
src/Traits/Cachable.php
@@ -244,7 +244,7 @@ public function scopeWithCacheCooldownSeconds(
244
245
$cacheKey = "{$cachePrefix}:{$modelClassName}-cooldown:invalidated-at";
246
$this->cache()
247
- ->rememberForever($cacheKey, function () use ($seconds) {
+ ->rememberForever($cacheKey, function () {
248
return now();
249
});
250
0 commit comments