@@ -5,7 +5,6 @@ |
||
5 | 5 | use hipanel\modules\finance\forms\AbstractTariffForm; |
6 | 6 | use hipanel\modules\finance\models\Tariff; |
7 | 7 | use Yii; |
8 | -use yii\base\InvalidConfigException; |
|
9 | 8 | use yii\base\Object; |
10 | 9 | use yii\helpers\ArrayHelper; |
11 | 10 | use yii\web\ForbiddenHttpException; |
@@ -22,7 +22,7 @@ |
||
22 | 22 | |
23 | 23 | /** |
24 | 24 | * TariffCalculator constructor. |
25 | - * @param Model[]|Model $tariffs |
|
25 | + * @param \hipanel\modules\finance\models\Tariff $tariffs |
|
26 | 26 | */ |
27 | 27 | public function __construct($tariffs) |
28 | 28 | { |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use hipanel\base\Model; |
6 | 6 | use hipanel\modules\finance\models\Calculation; |
7 | 7 | use hipanel\modules\finance\models\CalculableModelInterface; |
8 | -use hiqdev\hiart\ErrorResponseException; |
|
9 | 8 | use yii\web\UnprocessableEntityHttpException; |
10 | 9 | |
11 | 10 | class TariffCalculator |
@@ -11,7 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace hipanel\modules\finance\models; |
13 | 13 | |
14 | -use Guzzle\Plugin\ErrorResponse\Exception\ErrorResponseException; |
|
15 | 14 | use Yii; |
16 | 15 | use yii\base\InvalidParamException; |
17 | 16 |