Fix param names in NoopCache.

This commit is contained in:
Justin Hileman
2013-12-14 12:29:56 -08:00
parent 2b5d9e5f39
commit 77b88cd74f
+3 -3
View File
@@ -33,17 +33,17 @@ class Mustache_Cache_NoopCache extends Mustache_Cache_AbstractCache
* Loads the compiled Mustache Template class without caching.
*
* @param string $key
* @param string $compiled
* @param string $value
*
* @return void
*/
public function cache($key, $compiled)
public function cache($key, $value)
{
$this->log(
Mustache_Logger::WARNING,
'Template cache disabled, evaluating "{className}" class at runtime',
array('className' => $key)
);
eval("?>".$compiled);
eval('?>' . $value);
}
}