mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 13:58:55 +08:00
Fixes #17109: Removed misleading line from Cache::getOrSet() phpdoc [skip ci]
This commit is contained in:
@ -577,7 +577,6 @@ abstract class Cache extends Component implements CacheInterface
|
|||||||
* @param mixed $key a key identifying the value to be cached. This can be a simple string or
|
* @param mixed $key a key identifying the value to be cached. This can be a simple string or
|
||||||
* a complex data structure consisting of factors representing the key.
|
* a complex data structure consisting of factors representing the key.
|
||||||
* @param callable|\Closure $callable the callable or closure that will be used to generate a value to be cached.
|
* @param callable|\Closure $callable the callable or closure that will be used to generate a value to be cached.
|
||||||
* In case $callable returns `false`, the value will not be cached.
|
|
||||||
* @param int $duration default duration in seconds before the cache will expire. If not set,
|
* @param int $duration default duration in seconds before the cache will expire. If not set,
|
||||||
* [[defaultDuration]] value will be used.
|
* [[defaultDuration]] value will be used.
|
||||||
* @param Dependency $dependency dependency of the cached item. If the dependency changes,
|
* @param Dependency $dependency dependency of the cached item. If the dependency changes,
|
||||||
|
|||||||
Reference in New Issue
Block a user