diff --git a/src/Illuminate/Contracts/Cache/Repository.php b/src/Illuminate/Contracts/Cache/Repository.php index 0547aaa3de60..4bc4638e46fe 100644 --- a/src/Illuminate/Contracts/Cache/Repository.php +++ b/src/Illuminate/Contracts/Cache/Repository.php @@ -71,7 +71,7 @@ public function forever($key, $value); * @template TCacheValue * * @param string $key - * @param \DateTimeInterface|\DateInterval|int|null $ttl + * @param \DateTimeInterface|\DateInterval|\Closure|int|null $ttl * @param \Closure(): TCacheValue $callback * @return TCacheValue */