From ead914176f3aa032d9c9de67a7fa364585aa474a Mon Sep 17 00:00:00 2001 From: votintsev Date: Sun, 26 May 2013 13:33:35 +0400 Subject: [PATCH] Update Cache.php Fixed an example of using buildKey in the doc --- framework/yii/caching/Cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/yii/caching/Cache.php b/framework/yii/caching/Cache.php index efef048..0329078 100644 --- a/framework/yii/caching/Cache.php +++ b/framework/yii/caching/Cache.php @@ -94,7 +94,7 @@ abstract class Cache extends Component implements \ArrayAccess * The following example builds a cache key using three parameters: * * ~~~ - * $key = $cache->buildKey($className, $method, $id); + * $key = $cache->buildKey(array($className, $method, $id)); * ~~~ * * @param array|string $key the key to be normalized