Completed
Push — master ( 8ebb54...353a44 )
by Andrii
20:27
created
src/controllers/BillController.php 1 patch
Unused Use Statements   -7 removed lines patch added patch discarded remove patch
@@ -12,9 +12,7 @@  discard block
 block discarded – undo
12 12
 
13 13
 use hipanel\actions\IndexAction;
14 14
 use hipanel\actions\RedirectAction;
15
-use hipanel\actions\SmartCreateAction;
16 15
 use hipanel\actions\SmartDeleteAction;
17
-use hipanel\actions\SmartPerformAction;
18 16
 use hipanel\actions\SmartUpdateAction;
19 17
 use hipanel\actions\ValidateFormAction;
20 18
 use hipanel\actions\ViewAction;
@@ -23,16 +21,11 @@  discard block
 block discarded – undo
23 21
 use hipanel\modules\finance\forms\BillImportForm;
24 22
 use hipanel\modules\finance\forms\CurrencyExchangeForm;
25 23
 use hipanel\modules\finance\models\Bill;
26
-use hipanel\modules\finance\models\BillSearch;
27
-use hipanel\modules\finance\models\Charge;
28
-use hipanel\modules\finance\models\ChargeSearch;
29 24
 use hipanel\modules\finance\models\ExchangeRate;
30 25
 use hipanel\modules\finance\providers\BillTypesProvider;
31
-use hiqdev\hiart\ActiveDataProvider;
32 26
 use Yii;
33 27
 use yii\base\Event;
34 28
 use yii\base\Module;
35
-use yii\data\ArrayDataProvider;
36 29
 use yii\filters\AccessControl;
37 30
 
38 31
 class BillController extends \hipanel\base\CrudController
Please login to merge, or discard this patch.
src/controllers/PurseController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -68,6 +68,9 @@
 block discarded – undo
68 68
         return $this->generateDocument('generate-document', compact('id', 'type'));
69 69
     }
70 70
 
71
+    /**
72
+     * @param string $action
73
+     */
71 74
     public function generateDocument($action, $params)
72 75
     {
73 76
         try {
Please login to merge, or discard this patch.
src/logic/bill/BillQuantityFactory.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,6 @@  discard block
 block discarded – undo
41 41
     }
42 42
 
43 43
     /**
44
-     * @param string $type Tariff type
45 44
      * @return string
46 45
      */
47 46
     protected function buildClassName()
@@ -49,6 +48,9 @@  discard block
 block discarded – undo
49 48
         return 'hipanel\modules\finance\logic\bill\\' . $this->types[$this->type];
50 49
     }
51 50
 
51
+    /**
52
+     * @param string $type
53
+     */
52 54
     protected function fixType($type)
53 55
     {
54 56
         if (strpos($type, ',') !== false) {
Please login to merge, or discard this patch.
src/forms/CertificateTariffForm.php 2 patches
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.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 
13 13
 use hipanel\modules\finance\logic\IntegrityException;
14 14
 use hipanel\modules\finance\models\CertificateResource;
15
-use Yii;
16 15
 use yii\web\UnprocessableEntityHttpException;
17 16
 
18 17
 /**
Please login to merge, or discard this patch.
src/models/CertificateResource.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.