original_string: public static function getLimit($partial = true) {
  		if ($partial) {
  			$limit = elgg_get_plugin_setting('comments_limit', 'hypeInteractions');
  			return $limit ?: 3;
  		} else {
  			$limit = elgg_get_plugin_setting('comments_load_limit', 'hypeInteractions');
  			return min(max((int) $limit, 20), 200);
  		}
  	}
code: public static function getLimit($partial = true) {
  		if ($partial) {
  			$limit = elgg_get_plugin_setting('comments_limit', 'hypeInteractions');
  			return $limit ?: 3;
  		} else {
  			$limit = elgg_get_plugin_setting('comments_load_limit', 'hypeInteractions');
  			return min(max((int) $limit, 20), 200);
  		}
  	}
code_tokens: public static function getLimit ( $ partial = true ) { if ( $ partial ) { $ limit = elgg_get_plugin_setting ( 'comments_limit' , 'hypeInteractions' ) ; return $ limit ? : 3 ; } else { $ limit = elgg_get_plugin_setting ( 'comments_load_limit' , 'hypeInteractions' ) ; return min ( max ( ( int ) $ limit , 20 ) , 200 ) ; } }
docstring: Get number of comments to show
  
  @param string $partial Partial or full view
  @return string
docstring_tokens: Get number of comments to show