Completed
Push — master ( 8d2b6e...df3805 )
by Andrii
13:34
created
src/cart/AbstractCartPosition.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      *
87 87
      * The $price will be casted to double
88 88
      *
89
-     * @param mixed $price
89
+     * @param string $price
90 90
      */
91 91
     public function setPrice($price)
92 92
     {
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
      *
170 170
      * The $value will be casted to double
171 171
      *
172
-     * @param mixed $value
172
+     * @param string $value
173 173
      */
174 174
     public function setValue($value)
175 175
     {
Please login to merge, or discard this patch.
src/grid/BillGridView.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -220,6 +220,9 @@
 block discarded – undo
220 220
         return $canSeeLink ? Html::a($model->tariff, ['@plan/view', 'id' => $model->tariff_id]) : $model->tariff;
221 221
     }
222 222
 
223
+    /**
224
+     * @param Bill $model
225
+     */
223 226
     public function objectTag($model): string
224 227
     {
225 228
         return $model->object ? implode(': ', [Yii::t('hipanel', $model->class_label), $this->objectLink($model)]) : '';
Please login to merge, or discard this patch.
src/widgets/CartCurrencyNegotiator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -154,6 +154,9 @@
 block discarded – undo
154 154
         return parent::getViewPath() . DIRECTORY_SEPARATOR . 'cartPaymentOptions';
155 155
     }
156 156
 
157
+    /**
158
+     * @param string $view
159
+     */
157 160
     public function render($view, $params = [])
158 161
     {
159 162
         return parent::render($view, array_merge($params, [
Please login to merge, or discard this patch.
src/views/plan/referral/view.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\ReferralPriceGridView;
4 4
 use hipanel\modules\finance\helpers\PlanInternalsGrouper;
5 5
 use hipanel\modules\finance\models\Plan;
6
-use hipanel\modules\finance\models\RatePrice;
7 6
 use hipanel\modules\finance\models\Sale;
8 7
 use hipanel\modules\finance\models\Price;
9 8
 use hipanel\modules\finance\widgets\CreateReferralPricesButton;
Please login to merge, or discard this patch.