From 21ade23c71cc27b8ccebdde1eaaa4a0c51fec007 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Fri, 16 Jan 2015 11:41:51 +0000 Subject: [PATCH] Whitespace fixes Change-Id: Id22a4bfdc1b8c4074f6d7e6f21e8dbc2824d856e --- MathRenderer.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/MathRenderer.php b/MathRenderer.php index 6784ff4..1d43b00 100644 --- a/MathRenderer.php +++ b/MathRenderer.php @@ -13,8 +13,7 @@ * different technologies. These static methods create a new instance of the * extending classes and render the math tags based on the mode setting of the user. * Furthermore this class handles the caching of the rendered output and provides - * debug information, - * if run in mathdebug mode. + * debug information, if run in mathdebug mode. * * @author Tomasz Wegrzanowski * @author Brion Vibber @@ -119,7 +118,7 @@ abstract class MathRenderer { * @param int $mode constant indicating rendering mode * @return MathRenderer appropriate renderer for mode */ - public static function getRenderer( $tex, $params = array(), $mode = MW_MATH_PNG ) { + public static function getRenderer( $tex, $params = array(), $mode = MW_MATH_PNG ) { global $wgDefaultUserOptions, $wgMathValidModes, $wgMathEnableExperimentalInputFormats; $mathStyle = null; if ( isset( $params['display'] ) ) { @@ -149,7 +148,7 @@ abstract class MathRenderer { if ( !in_array( $mode, $wgMathValidModes ) ) { $mode = $wgDefaultUserOptions['math']; } - if ( $wgMathEnableExperimentalInputFormats === true && $mode == MW_MATH_MATHML && isset( $params['type'] ) ) { + if ( $wgMathEnableExperimentalInputFormats === true && $mode == MW_MATH_MATHML && isset( $params['type'] ) ) { // Support of MathML input (experimental) // Currently support for mode MW_MATH_MATHML only if( !in_array( $params['type'], array( 'pmml', 'ascii' ) ) ) {