@@ -106,7 +106,6 @@ discard block |
||
| 106 | 106 | /** |
| 107 | 107 | * |
| 108 | 108 | * @param string $name |
| 109 | - * @param \Closure $callable |
|
| 110 | 109 | * @return \sufir\Calc\Calc |
| 111 | 110 | */ |
| 112 | 111 | public function registerVariable($name, $value) |
@@ -125,8 +124,8 @@ discard block |
||
| 125 | 124 | |
| 126 | 125 | /** |
| 127 | 126 | * @param string $operator |
| 128 | - * @param integer|float $firstOperand |
|
| 129 | - * @param integer|float $secondOperand |
|
| 127 | + * @param string $firstOperand |
|
| 128 | + * @param string $secondOperand |
|
| 130 | 129 | * @return int |
| 131 | 130 | */ |
| 132 | 131 | protected function calc($operator, $firstOperand, $secondOperand) |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | /** |
| 33 | 33 | * |
| 34 | 34 | * @param string $value |
| 35 | - * @return boolean |
|
| 35 | + * @return integer |
|
| 36 | 36 | */ |
| 37 | 37 | protected function validate($value) |
| 38 | 38 | { |
@@ -27,7 +27,6 @@ |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * |
| 30 | - * @param type $operator |
|
| 31 | 30 | * @return integer |
| 32 | 31 | */ |
| 33 | 32 | public function getPriority($assoc = 'left') |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | /** |
| 33 | 33 | * |
| 34 | 34 | * @param string $value |
| 35 | - * @return boolean |
|
| 35 | + * @return integer |
|
| 36 | 36 | */ |
| 37 | 37 | protected function validate($value) |
| 38 | 38 | { |