Skip to content

Commit

Permalink
19265 fix file cache duration phpdoc (yiisoft#19623)
Browse files Browse the repository at this point in the history
* yiisoft#19265 fix file cache duration phpdoc

* yiisoft#19265 fix file cache duration phpdoc

* Update framework/caching/FileCache.php

Co-authored-by: Bizley <[email protected]>

* yiisoft#19265 remove CHANGELOG.md line

* yiisoft#19265 add CHANGELOG.md line

Co-authored-by: Márton Somogyi <[email protected]>
Co-authored-by: Bizley <[email protected]>
  • Loading branch information
3 people authored Oct 16, 2022
1 parent 6b3fea3 commit d41752b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/caching/FileCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ protected function getValue($key)
* @param string $key the key identifying the value to be cached
* @param string $value the value to be cached. Other types (If you have disabled [[serializer]]) unable to get is
* correct in [[getValue()]].
* @param int $duration the number of seconds in which the cached value will expire. 0 means never expire.
* @param int $duration the number of seconds in which the cached value will expire. Fewer than or equal to 0 means 1 year expiration time.
* @return bool true if the value is successfully stored into cache, false otherwise
*/
protected function setValue($key, $value, $duration)
Expand Down

0 comments on commit d41752b

Please sign in to comment.