mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ParserFunctions
synced 2024-11-15 11:59:54 +00:00
Use public instead of var in classes
Change-Id: Ic7b0455a4759579ef85b3c18bac55fb4f0e07183
This commit is contained in:
parent
057d585fa1
commit
0416c4590d
8
Expr.php
8
Expr.php
|
@ -65,9 +65,9 @@ class ExprError extends MWException {
|
|||
}
|
||||
|
||||
class ExprParser {
|
||||
var $maxStackSize = 100;
|
||||
public $maxStackSize = 100;
|
||||
|
||||
var $precedence = array(
|
||||
public $precedence = array(
|
||||
EXPR_NEGATIVE => 10,
|
||||
EXPR_POSITIVE => 10,
|
||||
EXPR_EXPONENT => 10,
|
||||
|
@ -106,7 +106,7 @@ class ExprParser {
|
|||
EXPR_CLOSE => -1,
|
||||
);
|
||||
|
||||
var $names = array(
|
||||
public $names = array(
|
||||
EXPR_NEGATIVE => '-',
|
||||
EXPR_POSITIVE => '+',
|
||||
EXPR_NOT => 'not',
|
||||
|
@ -143,7 +143,7 @@ class ExprParser {
|
|||
EXPR_SQRT => 'sqrt',
|
||||
);
|
||||
|
||||
var $words = array(
|
||||
public $words = array(
|
||||
'mod' => EXPR_MOD,
|
||||
'fmod' => EXPR_FMOD,
|
||||
'and' => EXPR_AND,
|
||||
|
|
Loading…
Reference in a new issue