@@ -2,20 +2,20 @@ |
||
2 | 2 | |
3 | 3 | namespace app\models; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\modules\shop\models\ConfigConfigurationModel; |
7 | +use app\modules\shop\models\Currency; |
|
6 | 8 | use app\modules\shop\models\Product; |
7 | 9 | use app\properties\HasProperties; |
8 | 10 | use app\traits\GetImages; |
9 | 11 | use app\traits\SortModels; |
10 | 12 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
11 | -use Yii; |
|
12 | 13 | use yii\behaviors\AttributeBehavior; |
13 | 14 | use yii\caching\TagDependency; |
14 | 15 | use yii\data\ActiveDataProvider; |
15 | 16 | use yii\db\ActiveQuery; |
16 | 17 | use yii\db\ActiveRecord; |
17 | 18 | use yii\db\Expression; |
18 | -use app\modules\shop\models\Currency; |
|
19 | 19 | |
20 | 20 | /** |
21 | 21 | * This is the model class for table "property_static_values". |
@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | } |
195 | 195 | |
196 | 196 | /** |
197 | - * @param $property_id |
|
197 | + * @param integer $property_id |
|
198 | 198 | * @param $category_id |
199 | 199 | * @param $properties |
200 | 200 | * @return PropertyStaticValues[] |
@@ -333,6 +333,9 @@ discard block |
||
333 | 333 | return $allSelections; |
334 | 334 | } |
335 | 335 | |
336 | + /** |
|
337 | + * @param string $joinCondition |
|
338 | + */ |
|
336 | 339 | private static function initSubQuery($category_id, $joinCondition) |
337 | 340 | { |
338 | 341 | $product = Yii::$container->get(Product::class); |
@@ -2,10 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\review\widgets\rating; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\modules\review\models\RatingItem; |
6 | 7 | use app\modules\review\models\RatingValues; |
7 | 8 | use app\modules\review\models\Review; |
8 | -use Yii; |
|
9 | 9 | use yii\base\Widget; |
10 | 10 | use yii\helpers\ArrayHelper; |
11 | 11 |
@@ -2,7 +2,6 @@ |
||
2 | 2 | namespace app\modules\shop\commands; |
3 | 3 | |
4 | 4 | use app\modules\shop\models\Yml; |
5 | -use Yii; |
|
6 | 5 | |
7 | 6 | class YmlController extends \yii\console\Controller |
8 | 7 | { |
@@ -2,10 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\shop\components\GoogleMerchants; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\modules\shop\models\Currency; |
6 | 7 | use app\modules\shop\models\GoogleFeed; |
7 | 8 | use app\modules\shop\models\Product; |
8 | -use Yii; |
|
9 | 9 | use yii\base\Component; |
10 | 10 | use yii\helpers\Json; |
11 | 11 |
@@ -2,12 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\shop\controllers; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\models\Object; |
6 | 7 | use app\modules\core\behaviors\DisableRobotIndexBehavior; |
7 | 8 | use app\modules\shop\helpers\ProductCompareHelper; |
8 | 9 | use app\modules\shop\models\Product; |
9 | -use Yii; |
|
10 | -use yii\caching\TagDependency; |
|
11 | 10 | use yii\web\Controller; |
12 | 11 | use yii\web\Response; |
13 | 12 |
@@ -3,9 +3,9 @@ |
||
3 | 3 | namespace app\modules\shop\models; |
4 | 4 | |
5 | 5 | |
6 | +use Yii; |
|
6 | 7 | use app\traits\FindById; |
7 | 8 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
8 | -use Yii; |
|
9 | 9 | use yii\caching\TagDependency; |
10 | 10 | use yii\data\ActiveDataProvider; |
11 | 11 |
@@ -2,10 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\shop\models; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\models\Property; |
6 | 7 | use app\traits\SortModels; |
7 | 8 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
8 | -use Yii; |
|
9 | 9 | use yii\caching\TagDependency; |
10 | 10 | |
11 | 11 | /** |
@@ -1,5 +1,4 @@ |
||
1 | 1 | <?php |
2 | -use kartik\select2\Select2; |
|
3 | 2 | |
4 | 3 | /** |
5 | 4 | * @var $this yii\web\View |
@@ -1,5 +1,4 @@ |
||
1 | 1 | <?php |
2 | -use kartik\select2\Select2; |
|
3 | 2 | |
4 | 3 | /** |
5 | 4 | * @var $this yii\web\View |