@@ -16,7 +16,7 @@ |
||
| 16 | 16 | { |
| 17 | 17 | /** |
| 18 | 18 | * getShippingOption |
| 19 | - * @return ShippingOption |
|
| 19 | + * @return \yii\db\ActiveQuery |
|
| 20 | 20 | */ |
| 21 | 21 | public function getShippingOption() |
| 22 | 22 | { |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | /** |
| 55 | - * @return SpecialPriceList|null |
|
| 55 | + * @return \yii\db\ActiveQuery |
|
| 56 | 56 | */ |
| 57 | 57 | public function getSpecialPriceList() |
| 58 | 58 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace app\modules\shop\models; |
| 4 | 4 | |
| 5 | 5 | use Yii; |
| 6 | -use yii\base\InvalidParamException; |
|
| 7 | 6 | use yii\helpers\ArrayHelper; |
| 8 | 7 | |
| 9 | 8 | /** |
@@ -1,14 +1,14 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | +use app\backend\components\ActiveForm; |
|
| 4 | +use app\backend\components\Helper; |
|
| 3 | 5 | use app\backend\widgets\BackendWidget; |
| 6 | +use app\modules\shop\ShopModule; |
|
| 4 | 7 | use app\modules\shop\controllers\BackendCategoryController; |
| 5 | 8 | use kartik\helpers\Html; |
| 6 | 9 | use kartik\icons\Icon; |
| 7 | -use app\backend\components\ActiveForm; |
|
| 8 | 10 | use kartik\widgets\DateTimePicker; |
| 9 | 11 | use yii\helpers\ArrayHelper; |
| 10 | -use app\backend\components\Helper; |
|
| 11 | -use app\modules\shop\ShopModule; |
|
| 12 | 12 | use yii\helpers\Url; |
| 13 | 13 | |
| 14 | 14 | /** |
@@ -9,7 +9,6 @@ |
||
| 9 | 9 | use kartik\icons\Icon; |
| 10 | 10 | use kartik\select2\Select2; |
| 11 | 11 | use kartik\widgets\ActiveForm; |
| 12 | -use vova07\imperavi\Widget as ImperaviWidget; |
|
| 13 | 12 | use yii\helpers\Json; |
| 14 | 13 | use yii\helpers\Url; |
| 15 | 14 | use yii\web\JsExpression; |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | * @var \yii\web\View $this |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | -use app\modules\shop\models\Product; |
|
| 10 | 9 | use kartik\helpers\Html; |
| 11 | 10 | |
| 12 | 11 | ?> |
@@ -4,8 +4,6 @@ |
||
| 4 | 4 | */ |
| 5 | 5 | use \app\modules\shop\models\OrderTransaction; |
| 6 | 6 | use \yii\helpers\Html; |
| 7 | -use kartik\icons\Icon; |
|
| 8 | -use yii\helpers\Url; |
|
| 9 | 7 | |
| 10 | 8 | $paymentType = $transaction->paymentType; |
| 11 | 9 | ?> |
@@ -277,7 +277,7 @@ |
||
| 277 | 277 | * Deletes an existing User model. |
| 278 | 278 | * If deletion is successful, the browser will be redirected to the 'index' page. |
| 279 | 279 | * @param integer $id |
| 280 | - * @return mixed |
|
| 280 | + * @return \yii\web\Response |
|
| 281 | 281 | */ |
| 282 | 282 | public function actionDelete($id) |
| 283 | 283 | { |
@@ -2,15 +2,15 @@ |
||
| 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\backend\models\AuthItemForm; |
| 7 | 8 | use yii\data\ArrayDataProvider; |
| 8 | 9 | use yii\filters\AccessControl; |
| 9 | 10 | use yii\filters\VerbFilter; |
| 10 | 11 | use yii\helpers\ArrayHelper; |
| 11 | -use yii\rbac\Item; |
|
| 12 | 12 | use yii\helpers\Url; |
| 13 | -use Yii; |
|
| 13 | +use yii\rbac\Item; |
|
| 14 | 14 | |
| 15 | 15 | /** |
| 16 | 16 | * BackendUserController implements the CRUD actions for User model. |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | +use app\models\Property; |
|
| 3 | 4 | use kartik\helpers\Html; |
| 4 | 5 | use yii\helpers\Url; |
| 5 | -use app\models\Property; |
|
| 6 | 6 | /** |
| 7 | 7 | * @var int $category_group_id |
| 8 | 8 | * @var array $possible_selections |
@@ -4,10 +4,9 @@ |
||
| 4 | 4 | namespace app\modules\image\actions; |
| 5 | 5 | |
| 6 | 6 | |
| 7 | +use Yii; |
|
| 7 | 8 | use app\modules\image\models\Image; |
| 8 | - |
|
| 9 | 9 | use creocoder\flysystem\Filesystem; |
| 10 | -use Yii; |
|
| 11 | 10 | use yii\base\Action; |
| 12 | 11 | use yii\base\Exception; |
| 13 | 12 | use yii\web\NotAcceptableHttpException; |