Fix phpcs

This commit is contained in:
Laurent Destailleur 2020-03-13 16:46:07 +01:00
parent d90bf25351
commit 99669583d5

View File

@ -220,9 +220,8 @@ class EvalMath
/** /**
* Convert infix to postfix notation * Convert infix to postfix notation
* *
* @param string $expr * @param string $expr Expression
* Expression * @return string Output
* @return string Output
*/ */
private function nfx($expr) private function nfx($expr)
{ {
@ -446,7 +445,7 @@ class EvalMath
* @param string|null $info String * @param string|null $info String
* @return boolean False * @return boolean False
*/ */
function trigger($code, $msg, $info = null) public function trigger($code, $msg, $info = null)
{ {
$this->last_error = $msg; $this->last_error = $msg;
$this->last_error_code = array($code,$info); $this->last_error_code = array($code,$info);
@ -462,9 +461,9 @@ class EvalMath
class EvalMathStack class EvalMathStack
{ {
var $stack = array(); public $stack = array();
var $count = 0; public $count = 0;
/** /**
* push * push