| @@ -3,13 +3,13 @@ | ||
| 3 | 3 | namespace app\backend\components; | 
| 4 | 4 | |
| 5 | 5 | use Closure; | 
| 6 | -use kartik\icons\Icon; | |
| 7 | 6 | use Yii; | 
| 7 | +use app\backend\components\Helper; | |
| 8 | +use kartik\icons\Icon; | |
| 8 | 9 | use yii\grid\Column; | 
| 9 | 10 | use yii\helpers\ArrayHelper; | 
| 10 | 11 | use yii\helpers\Html; | 
| 11 | 12 | use yii\helpers\Url; | 
| 12 | -use app\backend\components\Helper; | |
| 13 | 13 | |
| 14 | 14 | class ActionColumn extends Column | 
| 15 | 15 |  { | 
| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace app\backend\controllers; | 
| 4 | 4 | |
| 5 | +use Yii; | |
| 5 | 6 | use app\backend\models\BackendMenu; | 
| 6 | 7 | use devgroup\JsTreeWidget\AdjacencyFullTreeDataAction; | 
| 7 | -use Yii; | |
| 8 | 8 | use yii\filters\AccessControl; | 
| 9 | 9 | use yii\helpers\Url; | 
| 10 | 10 | use yii\web\Controller; | 
| @@ -2,6 +2,7 @@ discard block | ||
| 2 | 2 | |
| 3 | 3 | namespace app\backend\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; | 
| @@ -11,7 +12,6 @@ discard block | ||
| 11 | 12 | use app\models\Property; | 
| 12 | 13 | use app\models\PropertyGroup; | 
| 13 | 14 | use app\models\PropertyStaticValues; | 
| 14 | -use Yii; | |
| 15 | 15 | use yii\db\Query; | 
| 16 | 16 | use yii\filters\AccessControl; | 
| 17 | 17 | |
| @@ -2,10 +2,10 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace app\backend\controllers; | 
| 4 | 4 | |
| 5 | +use Yii; | |
| 5 | 6 | use app\backend\models\NewsletterConfig; | 
| 6 | -use app\modules\page\models\Page; | |
| 7 | 7 | use app\models\SubscribeEmail; | 
| 8 | -use Yii; | |
| 8 | +use app\modules\page\models\Page; | |
| 9 | 9 | use yii\filters\AccessControl; | 
| 10 | 10 | use yii\web\Controller; | 
| 11 | 11 | |
| @@ -2,13 +2,13 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace app\backend\controllers; | 
| 4 | 4 | |
| 5 | +use Yii; | |
| 5 | 6 | use app\models\Route; | 
| 6 | 7 | use app\properties\url\FullCategoryPathPart; | 
| 7 | 8 | use app\properties\url\ObjectSlugPart; | 
| 8 | 9 | use app\properties\url\PartialCategoryPathPart; | 
| 9 | 10 | use app\properties\url\PropertyPart; | 
| 10 | 11 | use app\properties\url\StaticPart; | 
| 11 | -use Yii; | |
| 12 | 12 | use yii\filters\AccessControl; | 
| 13 | 13 | use yii\helpers\Url; | 
| 14 | 14 | use yii\web\Controller; | 
| @@ -2,14 +2,14 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace app\backend\controllers; | 
| 4 | 4 | |
| 5 | +use Imagine\Image\ManipulatorInterface; | |
| 6 | +use Yii; | |
| 5 | 7 | use app\backend\traits\BackendRedirect; | 
| 8 | +use app\components\SearchModel; | |
| 6 | 9 | use app\models\Slide; | 
| 10 | +use app\models\Slider; | |
| 7 | 11 | use app\slider\BaseSliderEditModel; | 
| 8 | -use Imagine\Image\ManipulatorInterface; | |
| 9 | 12 | use kartik\icons\Icon; | 
| 10 | -use Yii; | |
| 11 | -use app\models\Slider; | |
| 12 | -use app\components\SearchModel; | |
| 13 | 13 | use yii\filters\AccessControl; | 
| 14 | 14 | use yii\web\BadRequestHttpException; | 
| 15 | 15 | use yii\web\Controller; | 
| @@ -45,7 +45,7 @@ discard block | ||
| 45 | 45 | |
| 46 | 46 | /** | 
| 47 | 47 | * Lists all Slider models. | 
| 48 | - * @return mixed | |
| 48 | + * @return string | |
| 49 | 49 | */ | 
| 50 | 50 | public function actionIndex() | 
| 51 | 51 |      { | 
| @@ -245,7 +245,7 @@ discard block | ||
| 245 | 245 | * Deletes an existing Slider model. | 
| 246 | 246 | * If deletion is successful, the browser will be redirected to the 'index' page. | 
| 247 | 247 | * @param string $id | 
| 248 | - * @return mixed | |
| 248 | + * @return Response | |
| 249 | 249 | */ | 
| 250 | 250 | public function actionDelete($id) | 
| 251 | 251 |      { | 
| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace app\backend\controllers; | 
| 4 | 4 | |
| 5 | +use Yii; | |
| 5 | 6 | use app\backend\traits\BackendRedirect; | 
| 6 | 7 | use app\models\SpamChecker; | 
| 7 | -use Yii; | |
| 8 | 8 | use yii\filters\AccessControl; | 
| 9 | 9 | use yii\web\Controller; | 
| 10 | 10 | use yii\web\NotFoundHttpException; | 
| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace app\backend\controllers; | 
| 4 | 4 | |
| 5 | +use Yii; | |
| 5 | 6 | use app\backend\traits\BackendRedirect; | 
| 6 | 7 | use app\models\View; | 
| 7 | -use Yii; | |
| 8 | 8 | use yii\filters\AccessControl; | 
| 9 | 9 | use yii\helpers\Url; | 
| 10 | 10 | use yii\web\Controller; | 
| @@ -3,8 +3,8 @@ | ||
| 3 | 3 | namespace app\backend\events; | 
| 4 | 4 | |
| 5 | 5 | use Yii; | 
| 6 | -use yii\widgets\ActiveForm; | |
| 7 | 6 | use yii\base\Model; | 
| 7 | +use yii\widgets\ActiveForm; | |
| 8 | 8 | |
| 9 | 9 | class BackendEntityEditFormEvent extends \yii\base\Event | 
| 10 | 10 |  { |