@@ -64,7 +64,7 @@ |
||
64 | 64 | } |
65 | 65 | |
66 | 66 | /** |
67 | - * @return PropertyGroup|null |
|
67 | + * @return \yii\db\ActiveQuery |
|
68 | 68 | */ |
69 | 69 | public function getGroup() |
70 | 70 | { |
@@ -116,7 +116,7 @@ |
||
116 | 116 | /** |
117 | 117 | * Returns active prefiltered page as array for specified URL (exact match). |
118 | 118 | * Used by ObjectRule |
119 | - * @param $url |
|
119 | + * @param string $url |
|
120 | 120 | * @return null|array |
121 | 121 | */ |
122 | 122 | public static function getActiveByUrl($url) |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace app\models; |
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\data\ActiveDataProvider; |
9 | 9 |
@@ -2,11 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\config\backend; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app; |
6 | -use app\modules\config\models\Configurable; |
|
7 | 7 | use app\modules\config\helpers\ConfigurationUpdater; |
8 | +use app\modules\config\models\Configurable; |
|
8 | 9 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
9 | -use Yii; |
|
10 | 10 | use yii\caching\TagDependency; |
11 | 11 | use yii\filters\AccessControl; |
12 | 12 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace app\modules\config\models; |
4 | 4 | |
5 | 5 | use Yii; |
6 | -use yii\base\Exception; |
|
7 | 6 | use yii\base\InvalidConfigException; |
8 | 7 | use yii\helpers\Html; |
9 | 8 |
@@ -104,7 +104,7 @@ |
||
104 | 104 | * Deletes an existing Wysiwyg model. |
105 | 105 | * If deletion is successful, the browser will be redirected to the 'index' page. |
106 | 106 | * @param integer $id |
107 | - * @return mixed |
|
107 | + * @return \yii\web\Response |
|
108 | 108 | */ |
109 | 109 | public function actionDelete($id) |
110 | 110 | { |
@@ -2,11 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\core\backend; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\backend\components\BackendController; |
6 | 7 | use app\modules\core\models\Wysiwyg; |
7 | 8 | use yii\filters\AccessControl; |
8 | 9 | use yii\filters\VerbFilter; |
9 | -use Yii; |
|
10 | 10 | use yii\web\NotFoundHttpException; |
11 | 11 | |
12 | 12 | class WysiwygController extends BackendController |
@@ -108,7 +108,7 @@ |
||
108 | 108 | * Deletes an existing ContentBlockGroup model. |
109 | 109 | * If deletion is successful, the browser will be redirected to the 'index' page. |
110 | 110 | * @param integer $id |
111 | - * @return mixed |
|
111 | + * @return \yii\web\Response |
|
112 | 112 | */ |
113 | 113 | public function actionDelete($id, $returnUrl = null) |
114 | 114 | { |
@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\core\controllers; |
4 | 4 | |
5 | -use app\backend\components\BackendController; |
|
6 | 5 | use Yii; |
6 | +use app\backend\components\BackendController; |
|
7 | 7 | use app\modules\core\models\ContentBlockGroup; |
8 | 8 | use yii\data\ActiveDataProvider; |
9 | -use yii\web\NotFoundHttpException; |
|
10 | 9 | use yii\filters\VerbFilter; |
10 | +use yii\web\NotFoundHttpException; |
|
11 | 11 | |
12 | 12 | /** |
13 | 13 | * ContentBlockGroupController implements the CRUD actions for ContentBlockGroup model. |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | } |
76 | 76 | |
77 | 77 | /** |
78 | - * @return ContentBlockGroup[] |
|
78 | + * @return \yii\db\ActiveQuery |
|
79 | 79 | */ |
80 | 80 | public function getChild() |
81 | 81 | { |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | } |
84 | 84 | |
85 | 85 | /** |
86 | - * @return ContentBlock[] |
|
86 | + * @return \yii\db\ActiveQuery |
|
87 | 87 | */ |
88 | 88 | public function getContentBlocks() |
89 | 89 | { |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\core\models; |
4 | 4 | |
5 | -use devgroup\TagDependencyHelper\ActiveRecordHelper; |
|
6 | 5 | use Yii; |
6 | +use devgroup\TagDependencyHelper\ActiveRecordHelper; |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * This is the model class for table "{{%content_block_group}}". |
@@ -2,12 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\image\models; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\behaviors\ImageExist; |
6 | 7 | use app\models\Object; |
7 | -use app\modules\image\widgets\ImageDropzone; |
|
8 | 8 | use app\traits\FindById; |
9 | 9 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
10 | -use Yii; |
|
11 | 10 | use yii\base\Exception; |
12 | 11 | use yii\caching\TagDependency; |
13 | 12 |
@@ -3,11 +3,10 @@ |
||
3 | 3 | use app\backend\widgets\BackendWidget; |
4 | 4 | use app\modules\image\models\Watermark; |
5 | 5 | use app\widgets\Alert; |
6 | +use kartik\icons\Icon; |
|
6 | 7 | use kartik\widgets\ActiveForm; |
7 | 8 | use kartik\widgets\FileInput; |
8 | 9 | use yii\helpers\Html; |
9 | -use kartik\icons\Icon; |
|
10 | -use yii\helpers\Url; |
|
11 | 10 | |
12 | 11 | /** |
13 | 12 | * @var yii\web\View $this |