Skip to content

Commit

Permalink
Add missing typehint to cache repository contract (#46929)
Browse files Browse the repository at this point in the history
  • Loading branch information
axlon authored May 1, 2023
1 parent 89ac58a commit 96f0d0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Contracts/Cache/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 96f0d0e

Please sign in to comment.