@@ -55,6 +55,9 @@ |
||
55 | 55 | return reset($query->populate([$data])); |
56 | 56 | } |
57 | 57 | |
58 | + /** |
|
59 | + * @return Tariff |
|
60 | + */ |
|
58 | 61 | private function getTariffById($id) |
59 | 62 | { |
60 | 63 | foreach ($this->tariffs as $tariff) { |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use hipanel\modules\finance\logic\ServerTariffCalculatorInterface; |
7 | 7 | use hipanel\modules\finance\models\Tariff; |
8 | 8 | use yii\base\InvalidParamException; |
9 | -use yii\base\NotSupportedException; |
|
10 | 9 | |
11 | 10 | class ServerTariffCalculator implements ServerTariffCalculatorInterface |
12 | 11 | { |
@@ -18,7 +18,7 @@ |
||
18 | 18 | * |
19 | 19 | * Print out latest Selenium Logs in debug mode |
20 | 20 | * |
21 | - * @param TestInterface $test |
|
21 | + * @param \Codeception\TestInterface $test |
|
22 | 22 | * @see \Codeception\Module\WebDriver::debugWebDriverLogs() |
23 | 23 | */ |
24 | 24 | public function debugWebDriverLogs($test = null) { |