Completed
Push — master ( 101852...e4563f )
by Andrii
05:52
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/grid/SaleGridView.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,9 @@
 block discarded – undo
3 3
 namespace hipanel\modules\finance\grid;
4 4
 
5 5
 use hipanel\modules\client\grid\ClientColumn;
6
-use hipanel\modules\finance\menus\SalePricesActionsMenu;
7 6
 use hipanel\modules\finance\models\FakeSale;
8 7
 use hipanel\modules\finance\models\Sale;
9 8
 use hipanel\modules\finance\widgets\LinkToObjectResolver;
10
-use hiqdev\yii2\menus\grid\MenuColumn;
11 9
 use Yii;
12 10
 use yii\helpers\Html;
13 11
 
Please login to merge, or discard this patch.
src/providers/FormulaExamplesProvider.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -45,6 +45,10 @@
 block discarded – undo
45 45
         ];
46 46
     }
47 47
 
48
+    /**
49
+     * @param string $name
50
+     * @param string[] $formulas
51
+     */
48 52
     private function groupOf($name, $formulas)
49 53
     {
50 54
         return ['name' => $name, 'formulas' => $formulas];
Please login to merge, or discard this patch.
src/views/sale/index.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 use hipanel\modules\finance\grid\SaleGridView;
4 4
 use hipanel\widgets\IndexPage;
5 5
 use hipanel\widgets\Pjax;
6
-use yii\helpers\Html;
7 6
 
8 7
 $this->title = Yii::t('hipanel:finance:sale', 'Sales');
9 8
 $this->params['breadcrumbs'][] = $this->title;
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.