From d41752bec8644ebd09704325b27d074c1b4bd403 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Somogyi=20M=C3=A1rton?= Date: Sun, 16 Oct 2022 12:14:01 +0200 Subject: [PATCH] 19265 fix file cache duration phpdoc (#19623) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * #19265 fix file cache duration phpdoc * #19265 fix file cache duration phpdoc * Update framework/caching/FileCache.php Co-authored-by: Bizley * #19265 remove CHANGELOG.md line * #19265 add CHANGELOG.md line Co-authored-by: Márton Somogyi Co-authored-by: Bizley --- framework/caching/FileCache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/caching/FileCache.php b/framework/caching/FileCache.php index 053d04f295c..aaa5049fef9 100644 --- a/framework/caching/FileCache.php +++ b/framework/caching/FileCache.php @@ -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)