Completed
Push — master ( ae53ec...716429 )
by Dmitry
15:10
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/AbstractTariffForm.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -171,6 +171,9 @@
 block discarded – undo
171 171
         return $this->tariff;
172 172
     }
173 173
 
174
+    /**
175
+     * @param Tariff $tariff
176
+     */
174 177
     public function setTariff($tariff)
175 178
     {
176 179
         if ($tariff === null) {
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/logic/AbstractTariffManager.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\Tariff;
7 7
 use yii\base\InvalidConfigException;
8 8
 use yii\base\Object;
9
-use yii\helpers\ArrayHelper;
10 9
 use yii\web\ForbiddenHttpException;
11 10
 
12 11
 abstract class AbstractTariffManager extends Object
Please login to merge, or discard this patch.