Skip to content

Commit f210e5a

Browse files
committed
WIP
1 parent 73e21c6 commit f210e5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/Cachable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ public function scopeWithCacheCooldownSeconds(
244244

245245
$cacheKey = "{$cachePrefix}:{$modelClassName}-cooldown:invalidated-at";
246246
$this->cache()
247-
->rememberForever($cacheKey, function () use ($seconds) {
247+
->rememberForever($cacheKey, function () {
248248
return now();
249249
});
250250

0 commit comments

Comments
 (0)