@@ -224,7 +224,7 @@ |
||
224 | 224 | } |
225 | 225 | |
226 | 226 | /** |
227 | - * @return PropertyGroup|null |
|
227 | + * @return PropertyGroup |
|
228 | 228 | */ |
229 | 229 | public function getPropertyGroup() |
230 | 230 | { |
@@ -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 | /** |
@@ -84,7 +84,7 @@ |
||
84 | 84 | |
85 | 85 | /** |
86 | 86 | * @param Contragent $contragent |
87 | - * @return DeliveryInformation|null |
|
87 | + * @return DeliveryInformation |
|
88 | 88 | */ |
89 | 89 | public static function createNewDeliveryInformation(Contragent $contragent, $dummyObject = true) |
90 | 90 | { |
@@ -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 | /** |
@@ -3,8 +3,8 @@ |
||
3 | 3 | namespace app\modules\shop\models; |
4 | 4 | |
5 | 5 | |
6 | -use app\components\payment\AbstractPayment; |
|
7 | 6 | use Yii; |
7 | +use app\components\payment\AbstractPayment; |
|
8 | 8 | use yii\base\Exception; |
9 | 9 | use yii\base\UnknownClassException; |
10 | 10 | use yii\db\ActiveRecord; |
@@ -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 |