@@ -2,11 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace app\backend\widgets; |
4 | 4 | |
5 | +use Yii; |
|
6 | +use kartik\icons\Icon; |
|
5 | 7 | use yii\base\InvalidParamException; |
6 | 8 | use yii\base\Widget; |
7 | 9 | use yii\helpers\Html; |
8 | -use kartik\icons\Icon; |
|
9 | -use Yii; |
|
10 | 10 | |
11 | 11 | class PublishSwitchButtons extends Widget |
12 | 12 | { |
@@ -3,12 +3,12 @@ |
||
3 | 3 | namespace app\backend\widgets; |
4 | 4 | |
5 | 5 | |
6 | -use yii\base\Widget; |
|
7 | 6 | use Yii; |
8 | -use yii\helpers\Html; |
|
9 | -use yii\base\InvalidParamException; |
|
10 | 7 | use app\modules\shop\models\Category; |
11 | 8 | use kartik\icons\Icon; |
9 | +use yii\base\InvalidParamException; |
|
10 | +use yii\base\Widget; |
|
11 | +use yii\helpers\Html; |
|
12 | 12 | |
13 | 13 | class CategoryMovementsButtons extends Widget |
14 | 14 | { |
@@ -9,10 +9,10 @@ |
||
9 | 9 | use app\modules\shop\models\Category; |
10 | 10 | use app\modules\shop\models\Product; |
11 | 11 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
12 | +use yii; |
|
12 | 13 | use yii\caching\TagDependency; |
13 | 14 | use yii\helpers\ArrayHelper; |
14 | 15 | use yii\helpers\Url; |
15 | -use yii; |
|
16 | 16 | |
17 | 17 | /** |
18 | 18 | * Class ContentBlockHelper |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace app\backend\actions; |
4 | 4 | |
5 | -use yii\web\Application; |
|
6 | 5 | use Yii; |
6 | +use yii\web\Application; |
|
7 | 7 | |
8 | 8 | class FlushCacheConsoleAction extends FlushCacheAction |
9 | 9 | { |
@@ -2,13 +2,13 @@ |
||
2 | 2 | |
3 | 3 | namespace app\backgroundtasks\controllers; |
4 | 4 | |
5 | -use app\backgroundtasks\models\Task; |
|
6 | 5 | use Yii; |
6 | +use app\backgroundtasks\models\Task; |
|
7 | 7 | use yii\filters\AccessControl; |
8 | 8 | use yii\filters\VerbFilter; |
9 | +use yii\helpers\Url; |
|
9 | 10 | use yii\web\Controller; |
10 | 11 | use yii\web\NotFoundHttpException; |
11 | -use yii\helpers\Url; |
|
12 | 12 | |
13 | 13 | /** |
14 | 14 | * Class ManageController |
@@ -2,10 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace app\backgroundtasks\traits; |
4 | 4 | |
5 | -use app\modules\page\models\Page; |
|
5 | +use Yii; |
|
6 | 6 | use app\models\SubscribeEmail; |
7 | +use app\modules\page\models\Page; |
|
7 | 8 | use app\properties\HasProperties; |
8 | -use Yii; |
|
9 | 9 | |
10 | 10 | trait NewsletterSenderTrait |
11 | 11 | { |
@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace app\behaviors; |
4 | 4 | |
5 | -use app\modules\shop\models\Category; |
|
6 | 5 | use Yii; |
7 | -use yii\helpers\ArrayHelper; |
|
6 | +use app\modules\shop\models\Category; |
|
8 | 7 | use yii\base\Behavior; |
9 | 8 | use yii\caching\TagDependency; |
10 | 9 | use yii\db\ActiveRecord; |
10 | +use yii\helpers\ArrayHelper; |
|
11 | 11 | |
12 | 12 | /** |
13 | 13 | * Class Tree |
@@ -3,11 +3,11 @@ |
||
3 | 3 | namespace app\commands; |
4 | 4 | |
5 | 5 | use Imagine\Image\ManipulatorInterface; |
6 | -use app\backend\actions\FlushCacheConsoleAction; |
|
7 | 6 | use Yii; |
8 | -use yii\console\Controller; |
|
9 | 7 | use app; |
8 | +use app\backend\actions\FlushCacheConsoleAction; |
|
10 | 9 | use app\modules\image\models\Image; |
10 | +use yii\console\Controller; |
|
11 | 11 | |
12 | 12 | /** |
13 | 13 | * Admin commands |
@@ -2,13 +2,13 @@ |
||
2 | 2 | |
3 | 3 | namespace app\components\swap\provider; |
4 | 4 | |
5 | -use app\modules\shop\models\CurrencyRateProvider; |
|
6 | 5 | use Ivory\HttpAdapter\HttpAdapterInterface; |
7 | 6 | use Swap\Exception\Exception; |
8 | 7 | use Swap\Model\CurrencyPair; |
9 | 8 | use Swap\Model\Rate; |
10 | 9 | use Swap\Provider\AbstractProvider; |
11 | 10 | use Swap\Swap; |
11 | +use app\modules\shop\models\CurrencyRateProvider; |
|
12 | 12 | |
13 | 13 | /** |
14 | 14 | * Class MultiProvider |