diff options
Diffstat (limited to 'app/Cache.php')
| -rw-r--r-- | app/Cache.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Cache.php b/app/Cache.php index 859421325e..a5facae9d3 100644 --- a/app/Cache.php +++ b/app/Cache.php @@ -50,7 +50,7 @@ class Cache * * @return T */ - public function remember(string $key, Closure $closure, int $ttl = null) + public function remember(string $key, Closure $closure, int|null $ttl = null) { return $this->cache->get(md5($key), static function (ItemInterface $item) use ($closure, $ttl) { $item->expiresAfter($ttl); |
