@@ -3,9 +3,9 @@ |
||
3 | 3 | namespace app\modules\seo\controllers; |
4 | 4 | |
5 | 5 | |
6 | +use Yii; |
|
6 | 7 | use app\backend\components\BackendController; |
7 | 8 | use app\modules\seo\models\OpenGraphObject; |
8 | -use Yii; |
|
9 | 9 | use yii\data\ActiveDataProvider; |
10 | 10 | |
11 | 11 | class OpenGraphController extends BackendController |
@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\seo\models; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\modules\config\models\BaseConfigurationModel; |
6 | 7 | use app\modules\seo\SeoModule; |
7 | -use Yii; |
|
8 | 8 | |
9 | 9 | class ConfigConfigurationModel extends BaseConfigurationModel |
10 | 10 | { |
@@ -1,9 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | use app\backend\components\ActionColumn; |
4 | -use kartik\dynagrid\DynaGrid; |
|
5 | -use kartik\helpers\Html; |
|
6 | -use kartik\icons\Icon; |
|
7 | 4 | |
8 | 5 | /** |
9 | 6 | * @var $this yii\web\View |
@@ -2,13 +2,13 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\shop\controllers; |
4 | 4 | |
5 | -use app\backend\components\BackendController; |
|
6 | 5 | use Yii; |
7 | -use app\modules\shop\models\CategoryGroup; |
|
6 | +use app\backend\components\BackendController; |
|
8 | 7 | use app\components\SearchModel; |
8 | +use app\modules\shop\models\CategoryGroup; |
|
9 | 9 | use yii\filters\AccessControl; |
10 | -use yii\web\NotFoundHttpException; |
|
11 | 10 | use yii\helpers\Url; |
11 | +use yii\web\NotFoundHttpException; |
|
12 | 12 | |
13 | 13 | /** |
14 | 14 | * CategoryGroupController implements the CRUD actions for CategoryGroup model. |
@@ -107,7 +107,7 @@ |
||
107 | 107 | * Deletes an existing CategoryGroup model. |
108 | 108 | * If deletion is successful, the browser will be redirected to the 'index' page. |
109 | 109 | * @param string $id |
110 | - * @return mixed |
|
110 | + * @return \yii\web\Response |
|
111 | 111 | */ |
112 | 112 | public function actionDelete($id) |
113 | 113 | { |
@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\shop\controllers; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\backend\actions\DeleteOne; |
6 | 7 | use app\backend\actions\MultipleDelete; |
7 | 8 | use app\backend\actions\UpdateEditable; |
8 | 9 | use app\backend\components\BackendController; |
9 | 10 | use app\modules\shop\models\Currency; |
10 | -use Yii; |
|
11 | 11 | use yii\filters\AccessControl; |
12 | 12 | use yii\helpers\Url; |
13 | 13 |
@@ -2,11 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\shop\controllers; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\backend\actions\DeleteOne; |
6 | 7 | use app\backend\actions\MultipleDelete; |
7 | 8 | use app\backend\components\BackendController; |
8 | 9 | use app\modules\shop\models\CurrencyRateProvider; |
9 | -use Yii; |
|
10 | 10 | use yii\filters\AccessControl; |
11 | 11 | |
12 | 12 | class BackendCurrencyRateProviderController extends BackendController |
@@ -3,12 +3,12 @@ |
||
3 | 3 | namespace app\modules\shop\controllers; |
4 | 4 | |
5 | 5 | |
6 | +use Yii; |
|
7 | +use app\backend\components\BackendController; |
|
6 | 8 | use app\modules\shop\models\AbstractDiscountType; |
7 | 9 | use app\modules\shop\models\Discount; |
8 | 10 | use app\modules\shop\models\DiscountType; |
9 | 11 | use yii\filters\AccessControl; |
10 | -use app\backend\components\BackendController; |
|
11 | -use Yii; |
|
12 | 12 | use yii\helpers\Url; |
13 | 13 | use yii\web\NotFoundHttpException; |
14 | 14 |
@@ -2,10 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\shop\controllers; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\backend\components\BackendController; |
6 | 7 | use app\components\SearchModel; |
7 | 8 | use app\modules\shop\models\Measure; |
8 | -use Yii; |
|
9 | 9 | use yii\filters\AccessControl; |
10 | 10 | use yii\filters\VerbFilter; |
11 | 11 | use yii\web\NotFoundHttpException; |
@@ -2,12 +2,14 @@ discard block |
||
2 | 2 | |
3 | 3 | namespace app\modules\shop\controllers; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\backend\components\BackendController; |
6 | 7 | use app\backend\models\Notification; |
7 | 8 | use app\backend\models\OrderChat; |
8 | 9 | use app\components\Helper; |
9 | 10 | use app\components\SearchModel; |
10 | 11 | use app\modules\core\helpers\EventSubscribingHelper; |
12 | +use app\modules\shop\ShopModule; |
|
11 | 13 | use app\modules\shop\events\OrderCalculateEvent; |
12 | 14 | use app\modules\shop\helpers\PriceHelper; |
13 | 15 | use app\modules\shop\models\Contragent; |
@@ -22,14 +24,11 @@ discard block |
||
22 | 24 | use app\modules\shop\models\Product; |
23 | 25 | use app\modules\shop\models\ShippingOption; |
24 | 26 | use app\modules\shop\models\SpecialPriceList; |
25 | -use app\modules\shop\ShopModule; |
|
26 | 27 | use app\modules\user\models\User; |
27 | 28 | use app\properties\HasProperties; |
28 | 29 | use kartik\helpers\Html; |
29 | -use Yii; |
|
30 | 30 | use yii\caching\TagDependency; |
31 | 31 | use yii\data\ArrayDataProvider; |
32 | -use yii\db\Query; |
|
33 | 32 | use yii\filters\AccessControl; |
34 | 33 | use yii\helpers\ArrayHelper; |
35 | 34 | use yii\helpers\Url; |