Completed
Push — master ( 2f4dad...a57ce0 )
by Andrii
13:12
created
src/models/ServerResource.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use hipanel\base\ModelTrait;
14 14
 use hipanel\modules\finance\models\decorators\server\AbstractServerResourceDecorator;
15 15
 use hipanel\modules\finance\models\decorators\server\ServerResourceDecoratorFactory;
16
-use hipanel\modules\server\models\Server;
17 16
 use Yii;
18 17
 
19 18
 /**
Please login to merge, or discard this patch.
src/logic/CertificateTariffManager.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 hiqdev\hiart\ResponseErrorException;
19 19
 use Yii;
20 20
 use yii\base\InvalidConfigException;
21
-use yii\web\NotFoundHttpException;
22 21
 use yii\web\UnprocessableEntityHttpException;
23 22
 
24 23
 /**
Please login to merge, or discard this patch.
src/merchant/PurchaseRequestCollection.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -30,6 +30,9 @@
 block discarded – undo
30 30
         $this->loadMerchants($this->depositRequest);
31 31
     }
32 32
 
33
+    /**
34
+     * @param DepositRequest $depositRequest
35
+     */
33 36
     public function loadMerchants($depositRequest)
34 37
     {
35 38
         $this->addItems($this->fetchMerchants($depositRequest));
Please login to merge, or discard this patch.
src/models/Purse.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -89,6 +89,9 @@
 block discarded – undo
89 89
         return $this->getDocumentsOfType('acceptance');
90 90
     }
91 91
 
92
+    /**
93
+     * @param string $type
94
+     */
92 95
     public function getDocumentsOfType($type)
93 96
     {
94 97
         if (Yii::$app->user->can('document.read') === false) {
Please login to merge, or discard this patch.
src/views/price/index.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 use hipanel\modules\finance\grid\PriceGridView;
4 4
 use hipanel\widgets\IndexPage;
5 5
 use hipanel\widgets\Pjax;
6
-use yii\helpers\Html;
7
-use yii\helpers\Url;
8 6
 
9 7
 $this->title = Yii::t('hipanel:finance', 'Price');
10 8
 $this->params['breadcrumbs'][] = $this->title;
Please login to merge, or discard this patch.
src/models/CertificatePrice.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     }
41 41
 
42 42
     /**
43
-     * @return array
43
+     * @return string[]
44 44
      */
45 45
     public static function getPeriods()
46 46
     {
Please login to merge, or discard this patch.
src/controllers/PayController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
     /**
105 105
      * @param Transaction $transaction
106 106
      * @param string|array $response
107
-     * @return mixed
107
+     * @return Transaction
108 108
      * @throws \yii\base\ExitException
109 109
      */
110 110
     protected function completeTransaction($transaction, $response)
Please login to merge, or discard this patch.
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
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 use hipanel\modules\finance\models\factories\PriceModelFactory;
20 20
 use hipanel\modules\finance\models\Plan;
21 21
 use hipanel\modules\finance\models\PriceSuggestionRequestForm;
22
-use hipanel\modules\server\models\Server;
23 22
 use hipanel\filters\EasyAccessControl;
24 23
 use hipanel\modules\finance\models\Price;
25 24
 use hipanel\modules\finance\models\TargetObject;
Please login to merge, or discard this patch.