@@ -16,7 +16,6 @@ |
||
16 | 16 | public static $returnUrlWithoutHistory = false; |
17 | 17 | |
18 | 18 | /** |
19 | - * @param int $depth |
|
20 | 19 | * @return string |
21 | 20 | */ |
22 | 21 | public static function getReturnUrl() |
@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace app\backend\components; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\backend\BackendModule; |
6 | 7 | use app\components\BaseModule; |
7 | -use Yii; |
|
8 | +use kartik\icons\Icon; |
|
8 | 9 | use yii\db\ActiveRecord; |
9 | 10 | use yii\helpers\Html; |
10 | -use kartik\icons\Icon; |
|
11 | 11 | |
12 | 12 | class Helper |
13 | 13 | { |
@@ -2,14 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace app\controllers; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\actions\SubmitFormAction; |
6 | -use app\backend\actions\PropertyHandler; |
|
7 | -use app\models\Form; |
|
8 | 7 | use app\models\Search; |
9 | -use app\modules\core\components\MailComponent; |
|
10 | 8 | use app\modules\shop\models\Product; |
11 | -use app\modules\seo\behaviors\MetaBehavior; |
|
12 | -use Yii; |
|
13 | 9 | use yii\helpers\Url; |
14 | 10 | use yii\web\Controller; |
15 | 11 | use yii\web\Response; |
@@ -2,15 +2,15 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\core\controllers; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\backend\components\BackendController; |
6 | 7 | use app\backend\traits\BackendRedirect; |
8 | +use app\modules\core\models\ContentBlock; |
|
7 | 9 | use app\modules\core\models\ContentBlockGroup; |
8 | 10 | use devgroup\JsTreeWidget\AdjacencyFullTreeDataAction; |
9 | 11 | use devgroup\JsTreeWidget\TreeNodeMoveAction; |
10 | 12 | use devgroup\JsTreeWidget\TreeNodesReorderAction; |
11 | 13 | use yii\filters\AccessControl; |
12 | -use app\modules\core\models\ContentBlock; |
|
13 | -use Yii; |
|
14 | 14 | use yii\helpers\Url; |
15 | 15 | use yii\web\NotFoundHttpException; |
16 | 16 |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace app\traits; |
4 | 4 | |
5 | -use devgroup\TagDependencyHelper\ActiveRecordHelper; |
|
6 | 5 | use Yii; |
6 | +use devgroup\TagDependencyHelper\ActiveRecordHelper; |
|
7 | 7 | use yii\caching\TagDependency; |
8 | 8 | use yii\db\ActiveRecord; |
9 | 9 | use yii\web\NotFoundHttpException; |
@@ -44,7 +44,7 @@ |
||
44 | 44 | protected $subject = null; |
45 | 45 | |
46 | 46 | /** |
47 | - * @return null |
|
47 | + * @return string |
|
48 | 48 | */ |
49 | 49 | public function getSubject() |
50 | 50 | { |
@@ -2,11 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace app\models; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\properties\AbstractModel; |
6 | 7 | use app\properties\HasProperties; |
7 | -use Yii; |
|
8 | 8 | use yii\data\ActiveDataProvider; |
9 | -use yii\helpers\ArrayHelper; |
|
10 | 9 | |
11 | 10 | /** |
12 | 11 | * This is the model class for table "submission". |
@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace app\widgets\navigation\models; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\backgroundtasks\traits\SearchModelTrait; |
6 | 7 | use app\behaviors\Tree; |
7 | 8 | use app\properties\HasProperties; |
8 | 9 | use app\traits\FindById; |
9 | 10 | use app\traits\GetImages; |
10 | -use Yii; |
|
11 | 11 | use yii\data\ActiveDataProvider; |
12 | 12 | |
13 | 13 | /** |
@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace app\widgets\navigation\models; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\backgroundtasks\traits\SearchModelTrait; |
6 | 7 | use app\behaviors\Tree; |
7 | 8 | use app\properties\HasProperties; |
8 | 9 | use app\traits\FindById; |
9 | 10 | use app\traits\GetImages; |
10 | -use Yii; |
|
11 | 11 | use yii\data\ActiveDataProvider; |
12 | 12 | |
13 | 13 | /** |
@@ -19,10 +19,10 @@ |
||
19 | 19 | namespace app\backend\actions; |
20 | 20 | |
21 | 21 | use Yii; |
22 | +use app\backend\widgets\PublishSwitchButtons; |
|
22 | 23 | use yii\base\Action; |
23 | -use yii\web\Response; |
|
24 | 24 | use yii\web\NotFoundHttpException; |
25 | -use app\backend\widgets\PublishSwitchButtons; |
|
25 | +use yii\web\Response; |
|
26 | 26 | use yii\web\ServerErrorHttpException; |
27 | 27 | |
28 | 28 | class MassPublishAction extends Action |
@@ -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 | { |