@@ -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 | /** |
@@ -5,5 +5,8 @@ |
||
5 | 5 | |
6 | 6 | interface ModificationDataInterface |
7 | 7 | { |
8 | + /** |
|
9 | + * @return void |
|
10 | + */ |
|
8 | 11 | public static function processData(ModificationDataEvent $event); |
9 | 12 | } |
10 | 13 | \ No newline at end of file |
@@ -168,7 +168,7 @@ |
||
168 | 168 | } |
169 | 169 | |
170 | 170 | /** |
171 | - * @return array |
|
171 | + * @return string[] |
|
172 | 172 | */ |
173 | 173 | public function getOfferElements() |
174 | 174 | { |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Yii; |
6 | 6 | use app\properties\AbstractPropertyEavModel; |
7 | 7 | use yii\helpers\FileHelper; |
8 | -use yii\helpers\VarDumper; |
|
9 | 8 | use yii\web\NotFoundHttpException; |
10 | 9 | use yii\web\Response; |
11 | 10 | use yii\web\UploadedFile; |
@@ -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; |