From 99669583d5331692f85928796e838a41c1c0129a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 13 Mar 2020 16:46:07 +0100 Subject: [PATCH] Fix phpcs --- htdocs/core/class/evalmath.class.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/htdocs/core/class/evalmath.class.php b/htdocs/core/class/evalmath.class.php index 1e27d20ccdc..a520ebb3a21 100644 --- a/htdocs/core/class/evalmath.class.php +++ b/htdocs/core/class/evalmath.class.php @@ -220,9 +220,8 @@ class EvalMath /** * Convert infix to postfix notation * - * @param string $expr - * Expression - * @return string Output + * @param string $expr Expression + * @return string Output */ private function nfx($expr) { @@ -446,7 +445,7 @@ class EvalMath * @param string|null $info String * @return boolean False */ - function trigger($code, $msg, $info = null) + public function trigger($code, $msg, $info = null) { $this->last_error = $msg; $this->last_error_code = array($code,$info); @@ -462,9 +461,9 @@ class EvalMath class EvalMathStack { - var $stack = array(); + public $stack = array(); - var $count = 0; + public $count = 0; /** * push