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