*
* @param string $text
* @param int $flags
+ * @param string $tree
*/
protected function cacheSetTree( $text, $flags, $tree ) {
$config = RequestContext::getMain()->getConfig();
$length = strlen( $text );
$threshold = $config->get( 'PreprocessorCacheThreshold' );
if ( $threshold === false || $length < $threshold || $length > 1e6 ) {
- return false;
+ return;
}
$cache = ObjectCache::getLocalClusterInstance();