@@ -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 | { |
@@ -1,5 +1,4 @@ |
||
1 | 1 | <?php |
2 | -use kartik\select2\Select2; |
|
3 | 2 | |
4 | 3 | /** |
5 | 4 | * @var $this yii\web\View |
@@ -5,9 +5,9 @@ |
||
5 | 5 | * @var \yii\data\ActiveDataProvider $dataProvider |
6 | 6 | */ |
7 | 7 | |
8 | +use kartik\icons\Icon; |
|
8 | 9 | use yii\helpers\Html; |
9 | - use yii\helpers\Url; |
|
10 | - use kartik\icons\Icon; |
|
10 | +use yii\helpers\Url; |
|
11 | 11 | |
12 | 12 | $this->title = Yii::t('app', 'Order stages'); |
13 | 13 | $this->params['breadcrumbs'] = [ |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace app\modules\shop\widgets; |
4 | 4 | |
5 | 5 | use app\modules\shop\helpers\ProductCompareHelper; |
6 | -use yii; |
|
7 | 6 | use yii\base\Widget; |
8 | 7 | |
9 | 8 | class ProductCompare extends Widget |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\shop\widgets; |
4 | 4 | |
5 | -use yii\helpers\ArrayHelper; |
|
6 | 5 | use Yii; |
6 | +use yii\helpers\ArrayHelper; |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * @property \app\models\Property $property |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\user\actions; |
4 | 4 | |
5 | -use app; |
|
6 | 5 | use Yii; |
6 | +use app; |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * AuthAction extends base yii2 auth action adding error view |
@@ -2,17 +2,16 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\user\controllers; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\backend\components\BackendController; |
6 | 7 | use app\components\SearchModel; |
7 | 8 | use app\modules\user\models\User; |
8 | -use Yii; |
|
9 | 9 | use yii\filters\AccessControl; |
10 | 10 | use yii\filters\VerbFilter; |
11 | 11 | use yii\helpers\ArrayHelper; |
12 | 12 | use yii\helpers\Json; |
13 | -use yii\rbac\Item; |
|
14 | 13 | use yii\helpers\Url; |
15 | - |
|
14 | +use yii\rbac\Item; |
|
16 | 15 | use yii\web\NotFoundHttpException; |
17 | 16 | |
18 | 17 | /** |
@@ -2,13 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\user\models; |
4 | 4 | |
5 | -use app\modules\shop\models\Customer; |
|
6 | -use app\properties\HasProperties; |
|
5 | +use Yii; |
|
7 | 6 | use app\models\PropertyGroup; |
8 | -use app\models\ObjectPropertyGroup; |
|
9 | - |
|
7 | +use app\properties\HasProperties; |
|
10 | 8 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
11 | -use Yii; |
|
12 | 9 | use yii\base\NotSupportedException; |
13 | 10 | use yii\behaviors\TimestampBehavior; |
14 | 11 | use yii\caching\TagDependency; |
@@ -385,7 +385,7 @@ |
||
385 | 385 | } |
386 | 386 | |
387 | 387 | /** |
388 | - * @return mixed|string Display name for the user visual identification |
|
388 | + * @return string Display name for the user visual identification |
|
389 | 389 | */ |
390 | 390 | public function getDisplayName() |
391 | 391 | { |
@@ -52,7 +52,7 @@ |
||
52 | 52 | } |
53 | 53 | |
54 | 54 | /** |
55 | - * @param $name |
|
55 | + * @param string $name |
|
56 | 56 | */ |
57 | 57 | public function setFormName($name) |
58 | 58 | { |
@@ -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 | /** |