@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace app\backend\models; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app; |
6 | 7 | use app\modules\config\models\BaseConfigurationModel; |
7 | -use Yii; |
|
8 | 8 | |
9 | 9 | /** |
10 | 10 | * Class ConfigConfigurationModel represents configuration model for retrieving user input |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace app\backend\models; |
4 | 4 | |
5 | -use app\modules\user\models\User; |
|
6 | 5 | use Yii; |
6 | +use app\modules\user\models\User; |
|
7 | 7 | use yii\db\ActiveRecord; |
8 | 8 | |
9 | 9 | /** |
@@ -56,7 +56,7 @@ |
||
56 | 56 | } |
57 | 57 | |
58 | 58 | /** |
59 | - * @return User |
|
59 | + * @return \yii\db\ActiveQuery |
|
60 | 60 | */ |
61 | 61 | public function getUser() |
62 | 62 | { |
@@ -5,11 +5,11 @@ |
||
5 | 5 | /** @var \app\slider\BaseSliderEditModel $abstractModel */ |
6 | 6 | |
7 | 7 | use app\backend\widgets\BackendWidget; |
8 | +use kartik\editable\Editable; |
|
8 | 9 | use kartik\helpers\Html; |
9 | 10 | use kartik\icons\Icon; |
10 | -use kartik\widgets\ActiveForm; |
|
11 | -use kartik\editable\Editable; |
|
12 | 11 | use kartik\popover\PopoverX; |
12 | +use kartik\widgets\ActiveForm; |
|
13 | 13 | |
14 | 14 | $this->title = $model->isNewRecord ? Yii::t('app', 'Create') : Yii::t('app', 'Update'); |
15 | 15 | $this->params['breadcrumbs'] = [ |
@@ -4,11 +4,11 @@ |
||
4 | 4 | |
5 | 5 | |
6 | 6 | use app\models\Property; |
7 | -use yii\helpers\ArrayHelper; |
|
8 | -use yii\db\Query; |
|
9 | 7 | use app\models\PropertyGroup; |
10 | 8 | use yii\base\Widget; |
11 | 9 | use yii\db\ActiveRecord; |
10 | +use yii\db\Query; |
|
11 | +use yii\helpers\ArrayHelper; |
|
12 | 12 | |
13 | 13 | /** |
14 | 14 | * @property \app\models\Object $object |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace app\backend\widgets; |
4 | 4 | |
5 | -use yii\base\Widget; |
|
6 | 5 | use app\backend\models\Notification as NotificationModel; |
6 | +use yii\base\Widget; |
|
7 | 7 | |
8 | 8 | class Notification extends Widget |
9 | 9 | { |
@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace app\behaviors; |
4 | 4 | |
5 | -use app\modules\image\models\Image; |
|
5 | +use Yii; |
|
6 | 6 | use app\models\Object; |
7 | 7 | use app\models\ObjectPropertyGroup; |
8 | 8 | use app\models\ObjectStaticValues; |
9 | 9 | use app\models\ViewObject; |
10 | -use Yii; |
|
10 | +use app\modules\image\models\Image; |
|
11 | 11 | use yii\base\Behavior; |
12 | 12 | use yii\db\ActiveRecord; |
13 | 13 | use yii\db\Exception; |
@@ -7,5 +7,9 @@ |
||
7 | 7 | interface SpamCheckable |
8 | 8 | { |
9 | 9 | public function check(); |
10 | + |
|
11 | + /** |
|
12 | + * @return string |
|
13 | + */ |
|
10 | 14 | public function getType(); |
11 | 15 | } |
12 | 16 | \ No newline at end of file |
@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace app\commands; |
4 | 4 | |
5 | -use app\modules\core\models\Extensions; |
|
6 | 5 | use Yii; |
6 | +use app\modules\core\models\Extensions; |
|
7 | 7 | use yii\console\Controller; |
8 | 8 | use yii\helpers\ArrayHelper; |
9 | -use yii\helpers\Json; |
|
10 | 9 | use yii\helpers\Console; |
10 | +use yii\helpers\Json; |
|
11 | 11 | |
12 | 12 | class ExtensionController extends Controller |
13 | 13 | { |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace app\components; |
4 | 4 | |
5 | -use kartik\icons\Icon; |
|
6 | 5 | use Yii; |
6 | +use kartik\icons\Icon; |
|
7 | 7 | use yii\helpers\Html; |
8 | 8 | |
9 | 9 | class ActionColumn extends \yii\grid\ActionColumn |