Completed
Push — master ( f8a75f...a37a81 )
by Dmitry
9s
created
src/cart/ServerTariffCalculator.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -55,6 +55,9 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.