@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | } |
84 | 84 | |
85 | 85 | /** |
86 | - * @return Order |
|
86 | + * @return \yii\db\ActiveQuery |
|
87 | 87 | */ |
88 | 88 | public function getOrder() |
89 | 89 | { |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | } |
92 | 92 | |
93 | 93 | /** |
94 | - * @return PaymentType|null |
|
94 | + * @return \yii\db\ActiveQuery |
|
95 | 95 | */ |
96 | 96 | public function getPaymentType() |
97 | 97 | { |
@@ -16,7 +16,7 @@ |
||
16 | 16 | { |
17 | 17 | /** |
18 | 18 | * getShippingOption |
19 | - * @return ShippingOption |
|
19 | + * @return \yii\db\ActiveQuery |
|
20 | 20 | */ |
21 | 21 | public function getShippingOption() |
22 | 22 | { |
@@ -52,7 +52,7 @@ |
||
52 | 52 | } |
53 | 53 | |
54 | 54 | /** |
55 | - * @return SpecialPriceList|null |
|
55 | + * @return \yii\db\ActiveQuery |
|
56 | 56 | */ |
57 | 57 | public function getSpecialPriceList() |
58 | 58 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace app\modules\shop\models; |
4 | 4 | |
5 | 5 | use Yii; |
6 | -use yii\base\InvalidParamException; |
|
7 | 6 | use yii\helpers\ArrayHelper; |
8 | 7 | |
9 | 8 | /** |
@@ -1,14 +1,14 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | +use app\backend\components\ActiveForm; |
|
4 | +use app\backend\components\Helper; |
|
3 | 5 | use app\backend\widgets\BackendWidget; |
6 | +use app\modules\shop\ShopModule; |
|
4 | 7 | use app\modules\shop\controllers\BackendCategoryController; |
5 | 8 | use kartik\helpers\Html; |
6 | 9 | use kartik\icons\Icon; |
7 | -use app\backend\components\ActiveForm; |
|
8 | 10 | use kartik\widgets\DateTimePicker; |
9 | 11 | use yii\helpers\ArrayHelper; |
10 | -use app\backend\components\Helper; |
|
11 | -use app\modules\shop\ShopModule; |
|
12 | 12 | use yii\helpers\Url; |
13 | 13 | |
14 | 14 | /** |
@@ -9,7 +9,6 @@ |
||
9 | 9 | use kartik\icons\Icon; |
10 | 10 | use kartik\select2\Select2; |
11 | 11 | use kartik\widgets\ActiveForm; |
12 | -use vova07\imperavi\Widget as ImperaviWidget; |
|
13 | 12 | use yii\helpers\Json; |
14 | 13 | use yii\helpers\Url; |
15 | 14 | use yii\web\JsExpression; |
@@ -6,7 +6,6 @@ |
||
6 | 6 | * @var \yii\web\View $this |
7 | 7 | */ |
8 | 8 | |
9 | -use app\modules\shop\models\Product; |
|
10 | 9 | use kartik\helpers\Html; |
11 | 10 | |
12 | 11 | ?> |
@@ -4,8 +4,6 @@ |
||
4 | 4 | */ |
5 | 5 | use \app\modules\shop\models\OrderTransaction; |
6 | 6 | use \yii\helpers\Html; |
7 | -use kartik\icons\Icon; |
|
8 | -use yii\helpers\Url; |
|
9 | 7 | |
10 | 8 | $paymentType = $transaction->paymentType; |
11 | 9 | ?> |
@@ -12,9 +12,8 @@ |
||
12 | 12 | * @var $values_by_property_id integer |
13 | 13 | */ |
14 | 14 | |
15 | -use app\modules\image\models\Image; |
|
16 | -use app\modules\shop\models\Product; |
|
17 | 15 | use app\modules\image\widgets\ObjectImageWidget; |
16 | +use app\modules\shop\models\Product; |
|
18 | 17 | use kartik\helpers\Html; |
19 | 18 | use yii\helpers\Url; |
20 | 19 |
@@ -277,7 +277,7 @@ |
||
277 | 277 | * Deletes an existing User model. |
278 | 278 | * If deletion is successful, the browser will be redirected to the 'index' page. |
279 | 279 | * @param integer $id |
280 | - * @return mixed |
|
280 | + * @return \yii\web\Response |
|
281 | 281 | */ |
282 | 282 | public function actionDelete($id) |
283 | 283 | { |
@@ -2,15 +2,15 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\user\controllers; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\backend\components\BackendController; |
6 | 7 | use app\backend\models\AuthItemForm; |
7 | 8 | use yii\data\ArrayDataProvider; |
8 | 9 | use yii\filters\AccessControl; |
9 | 10 | use yii\filters\VerbFilter; |
10 | 11 | use yii\helpers\ArrayHelper; |
11 | -use yii\rbac\Item; |
|
12 | 12 | use yii\helpers\Url; |
13 | -use Yii; |
|
13 | +use yii\rbac\Item; |
|
14 | 14 | |
15 | 15 | /** |
16 | 16 | * BackendUserController implements the CRUD actions for User model. |