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. * Loads the compiled Mustache Template class without caching.
* *
* @param string $key * @param string $key
* @param string $compiled * @param string $value
* *
* @return void * @return void
*/ */
public function cache($key, $compiled) public function cache($key, $value)
{ {
$this->log( $this->log(
Mustache_Logger::WARNING, Mustache_Logger::WARNING,
'Template cache disabled, evaluating "{className}" class at runtime', 'Template cache disabled, evaluating "{className}" class at runtime',
array('className' => $key) array('className' => $key)
); );
eval("?>".$compiled); eval('?>' . $value);
} }
} }