@@ -1094,7 +1094,7 @@ |
||
| 1094 | 1094 | } |
| 1095 | 1095 | |
| 1096 | 1096 | /** |
| 1097 | - * @param int|Category|null $category |
|
| 1097 | + * @param integer $category |
|
| 1098 | 1098 | * @param bool $asMainCategory |
| 1099 | 1099 | * @return bool |
| 1100 | 1100 | * @throws \yii\db\Exception |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | |
| 62 | 62 | /** |
| 63 | 63 | * Set the algorithm of calculation |
| 64 | - * @return float function(float, float) |
|
| 64 | + * @return \Closure function(float, float) |
|
| 65 | 65 | */ |
| 66 | 66 | protected function getCalculator() { |
| 67 | 67 | $kind = Yii::$app->request->post('kind'); |