Remove unneeded variable assignment

Change-Id: If1c6427ca57430ff89cac3604bbed47cba9561a0
This commit is contained in:
Umherirrender 2018-02-06 20:41:10 +01:00
parent 26e9f00c2a
commit bd01ab6e27
1 changed files with 3 additions and 3 deletions

View File

@ -57,7 +57,7 @@ class MathHooks {
'MW_MATHSTYLE_INLINE' => 2, // small operators inline
'MW_MATHSTYLE_LINEBREAK' => 3, // break long lines (experimental)
];
return self::mathConstantToString( $style, $defs, $prefix = 'MW_MATHSTYLE_', $default );
return self::mathConstantToString( $style, $defs, 'MW_MATHSTYLE_', $default );
}
public static function mathCheckToString( $style, $default = 'always' ) {
@ -66,7 +66,7 @@ class MathHooks {
'MW_MATH_CHECK_NEVER' => 1,
'MW_MATH_CHECK_NEW' => 2,
];
return self::mathConstantToString( $style, $defs, $prefix = 'MW_MATH_CHECK_', $default );
return self::mathConstantToString( $style, $defs, 'MW_MATH_CHECK_', $default );
}
public static function mathModeToString( $mode, $default = 'png' ) {
@ -83,7 +83,7 @@ class MathHooks {
'MW_MATH_MATHML' => 5,
'MW_MATH_LATEXML' => 7 ];
return self::mathConstantToString( $mode, $defs, $prefix = 'MW_MATH_', $default );
return self::mathConstantToString( $mode, $defs, 'MW_MATH_', $default );
}
public static function mathModeToHashKey( $mode, $default = 0 ) {