Skip to content

Commit 96f0d0e

Browse files
authored
Add missing typehint to cache repository contract (#46929)
1 parent 89ac58a commit 96f0d0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Contracts/Cache/Repository.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function forever($key, $value);
7171
* @template TCacheValue
7272
*
7373
* @param string $key
74-
* @param \DateTimeInterface|\DateInterval|int|null $ttl
74+
* @param \DateTimeInterface|\DateInterval|\Closure|int|null $ttl
7575
* @param \Closure(): TCacheValue $callback
7676
* @return TCacheValue
7777
*/

0 commit comments

Comments
 (0)