Completed
Push — master ( 478f67...9afd4a )
by Andrii
04:25
created
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.
src/logic/AbstractTariffManager.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use yii\base\InvalidConfigException;
17 17
 use yii\base\Object;
18 18
 use yii\helpers\ArrayHelper;
19
-use yii\web\ForbiddenHttpException;
20 19
 use yii\web\NotFoundHttpException;
21 20
 
22 21
 abstract class AbstractTariffManager extends Object
Please login to merge, or discard this patch.
src/models/decorators/server/AbstractServerResourceDecorator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use hipanel\modules\finance\models\decorators\AbstractResourceDecorator;
15 15
 use hipanel\modules\finance\models\decorators\ResourceDecoratorInterface;
16 16
 use hipanel\modules\finance\models\ServerResource;
17
-use NumberFormatter;
18 17
 use Yii;
19 18
 
20 19
 abstract class AbstractServerResourceDecorator extends AbstractResourceDecorator implements ResourceDecoratorInterface
Please login to merge, or discard this patch.