Completed
Push — master ( 101852...e4563f )
by Andrii
05:52
created
src/logic/bill/MonthlyQuantity.php 1 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\models\Bill;
7 7
 use hipanel\modules\finance\models\Charge;
8 8
 use hipanel\modules\server\models\Consumption;
9
-use hiqdev\php\units\Quantity;
10 9
 use Yii;
11 10
 
12 11
 /**
Please login to merge, or discard this patch.
src/controllers/PlanController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use hipanel\modules\finance\helpers\PriceSort;
19 19
 use hipanel\modules\finance\models\factories\PriceModelFactory;
20 20
 use hipanel\modules\finance\models\Plan;
21
-use hipanel\modules\server\models\Server;
22 21
 use hipanel\filters\EasyAccessControl;
23 22
 use hipanel\modules\finance\models\Price;
24 23
 use hipanel\modules\finance\models\TargetObject;
Please login to merge, or discard this patch.
src/grid/BillGridView.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -202,11 +202,17 @@
 block discarded – undo
202 202
         ]);
203 203
     }
204 204
 
205
+    /**
206
+     * @param Bill $model
207
+     */
205 208
     public function tariffLink($model): string
206 209
     {
207 210
         return Html::a($model->tariff, ['@tariff/view', 'id' => $model->tariff_id]);
208 211
     }
209 212
 
213
+    /**
214
+     * @param Bill $model
215
+     */
210 216
     public function objectTag($model): string
211 217
     {
212 218
         return $model->object ? implode(': ', [$model->class_label, $this->objectLink($model)]) : '';
Please login to merge, or discard this patch.