Completed
Push — master ( 06e8c3...30851e )
by Andrii
06:14
created
src/cart/AbstractPurchase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
      * Executes the purchase.
75 75
      * Calls proper API commands to purchase the product.
76 76
      * @throws ErrorPurchaseException in case of failed purchase
77
-     * @return true if the item was purchased successfully
77
+     * @return boolean if the item was purchased successfully
78 78
      */
79 79
     public function execute()
80 80
     {
Please login to merge, or discard this patch.
src/forms/DomainTariffForm.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use hipanel\modules\finance\models\DomainResource;
6 6
 use hipanel\modules\finance\models\DomainService;
7
-use hipanel\modules\finance\models\Tariff;
8 7
 use yii\web\UnprocessableEntityHttpException;
9 8
 
10 9
 class DomainTariffForm extends AbstractTariffForm
Please login to merge, or discard this patch.
src/widgets/PrepaidAmountWidget.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -37,6 +37,9 @@
 block discarded – undo
37 37
         }
38 38
     }
39 39
 
40
+    /**
41
+     * @param \hipanel\inputs\TextInput $type
42
+     */
40 43
     private function renderTextInput($type)
41 44
     {
42 45
         $this->activeField->template = "{label}\n<div class=\"input-group\">{input}<span class=\"input-group-addon\">{unit}</span></div>\n{hint}\n{error}";
Please login to merge, or discard this patch.
src/views/bill/_purseBlock.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 use hipanel\modules\finance\grid\PurseGridView;
4
-use hipanel\modules\finance\models\Purse;
5 4
 use hipanel\widgets\Box;
6 5
 use hipanel\widgets\ModalButton;
7 6
 use yii\helpers\Html;
Please login to merge, or discard this patch.
src/controllers/BillController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -31,6 +31,9 @@
 block discarded – undo
31 31
      */
32 32
     private $billTypesProvider;
33 33
 
34
+    /**
35
+     * @param string $id
36
+     */
34 37
     public function __construct($id, Module $module, BillTypesProvider $billTypesProvider, array $config = [])
35 38
     {
36 39
         parent::__construct($id, $module, $config);
Please login to merge, or discard this patch.
src/models/Tariff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
     }
57 57
 
58 58
     /**
59
-     * @param $type
59
+     * @param string $type
60 60
      * @return DomainResource|ServerResource|resource
61 61
      */
62 62
     public function getResourceByType($type)
Please login to merge, or discard this patch.