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