Use public instead of var in classes

Change-Id: Ic7b0455a4759579ef85b3c18bac55fb4f0e07183
This commit is contained in:
addshore 2014-08-17 22:10:15 +01:00
parent 057d585fa1
commit 0416c4590d

View file

@ -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,