Skip to content

Commit

Permalink
Add missing typehint to cache repository contract (laravel#46929)
Browse files Browse the repository at this point in the history
  • Loading branch information
axlon authored and milwad-dev committed May 12, 2023
1 parent abf47be commit 752213c
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 752213c

Please sign in to comment.