@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | } |
| 96 | 96 | |
| 97 | 97 | /** |
| 98 | - * @return OrderStage|null |
|
| 98 | + * @return \yii\db\ActiveQuery |
|
| 99 | 99 | */ |
| 100 | 100 | public function getStageFrom() |
| 101 | 101 | { |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | } |
| 104 | 104 | |
| 105 | 105 | /** |
| 106 | - * @return OrderStage|null |
|
| 106 | + * @return \yii\db\ActiveQuery |
|
| 107 | 107 | */ |
| 108 | 108 | public function getStageTo() |
| 109 | 109 | { |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | /** |
| 86 | - * @return Order |
|
| 86 | + * @return \yii\db\ActiveQuery |
|
| 87 | 87 | */ |
| 88 | 88 | public function getOrder() |
| 89 | 89 | { |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | } |
| 92 | 92 | |
| 93 | 93 | /** |
| 94 | - * @return PaymentType|null |
|
| 94 | + * @return \yii\db\ActiveQuery |
|
| 95 | 95 | */ |
| 96 | 96 | public function getPaymentType() |
| 97 | 97 | { |
@@ -240,7 +240,7 @@ discard block |
||
| 240 | 240 | /** |
| 241 | 241 | * Returns model instance by ID using per-request Identity Map and cache |
| 242 | 242 | * @param $id |
| 243 | - * @param int $is_active Return only active |
|
| 243 | + * @param int $isActive Return only active |
|
| 244 | 244 | * @return Product |
| 245 | 245 | */ |
| 246 | 246 | public static function findById($id, $isActive = 1) |
@@ -327,7 +327,7 @@ discard block |
||
| 327 | 327 | } |
| 328 | 328 | |
| 329 | 329 | /** |
| 330 | - * @return Category|null |
|
| 330 | + * @return ActiveQuery |
|
| 331 | 331 | */ |
| 332 | 332 | public function getCategory() |
| 333 | 333 | { |
@@ -1074,7 +1074,7 @@ discard block |
||
| 1074 | 1074 | } |
| 1075 | 1075 | |
| 1076 | 1076 | /** |
| 1077 | - * @param int|Category|null $category |
|
| 1077 | + * @param integer $category |
|
| 1078 | 1078 | * @param bool $asMainCategory |
| 1079 | 1079 | * @return bool |
| 1080 | 1080 | * @throws \yii\db\Exception |
@@ -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 | { |
@@ -156,7 +156,7 @@ |
||
| 156 | 156 | * Deletes an existing User model. |
| 157 | 157 | * If deletion is successful, the browser will be redirected to the 'index' page. |
| 158 | 158 | * @param integer $id |
| 159 | - * @return mixed |
|
| 159 | + * @return \yii\web\Response |
|
| 160 | 160 | */ |
| 161 | 161 | public function actionDelete($id) |
| 162 | 162 | { |
@@ -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 | { |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | } |
| 129 | 129 | |
| 130 | 130 | /** |
| 131 | - * @return array List of all possible statuses for User instance |
|
| 131 | + * @return string[] List of all possible statuses for User instance |
|
| 132 | 132 | */ |
| 133 | 133 | public static function getStatuses() |
| 134 | 134 | { |
@@ -251,7 +251,7 @@ discard block |
||
| 251 | 251 | } |
| 252 | 252 | |
| 253 | 253 | /** |
| 254 | - * @return int|string current user ID |
|
| 254 | + * @return integer current user ID |
|
| 255 | 255 | */ |
| 256 | 256 | public function getId() |
| 257 | 257 | { |
@@ -385,7 +385,7 @@ discard block |
||
| 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 | { |
@@ -31,6 +31,9 @@ discard block |
||
| 31 | 31 | */ |
| 32 | 32 | private $arrayMode = false; |
| 33 | 33 | |
| 34 | + /** |
|
| 35 | + * @param ActiveRecord $ownerModel |
|
| 36 | + */ |
|
| 34 | 37 | public function __construct($config = [], $ownerModel = null) |
| 35 | 38 | { |
| 36 | 39 | parent::__construct($config); |
@@ -52,7 +55,7 @@ discard block |
||
| 52 | 55 | } |
| 53 | 56 | |
| 54 | 57 | /** |
| 55 | - * @param $name |
|
| 58 | + * @param string $name |
|
| 56 | 59 | */ |
| 57 | 60 | public function setFormName($name) |
| 58 | 61 | { |