@@ -79,7 +79,7 @@ |
||
79 | 79 | /** |
80 | 80 | * @param null $id |
81 | 81 | * @param bool $create |
82 | - * @return null|\app\models\WarehouseProduct |
|
82 | + * @return null|WarehouseProduct |
|
83 | 83 | */ |
84 | 84 | public static function findByProductId($id = null, $create = true) |
85 | 85 | { |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | } |
74 | 74 | |
75 | 75 | /** |
76 | - * @return User|null |
|
76 | + * @return \yii\db\ActiveQuery |
|
77 | 77 | */ |
78 | 78 | public function getUser() |
79 | 79 | { |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | } |
82 | 82 | |
83 | 83 | /** |
84 | - * @return WishlistProduct[]|null |
|
84 | + * @return \yii\db\ActiveQuery |
|
85 | 85 | */ |
86 | 86 | public function getItems() |
87 | 87 | { |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | /** |
92 | 92 | * @param $user_id |
93 | 93 | * @param array $wishlist_ids |
94 | - * @return array |
|
94 | + * @return \yii\db\BaseActiveRecord[] |
|
95 | 95 | */ |
96 | 96 | public static function getWishlist($user_id, $wishlist_ids) |
97 | 97 | { |
@@ -210,7 +210,7 @@ discard block |
||
210 | 210 | } |
211 | 211 | |
212 | 212 | /** |
213 | - * @param $itemId |
|
213 | + * @param integer $itemId |
|
214 | 214 | * @return bool |
215 | 215 | */ |
216 | 216 | public function removeItem($itemId) |
@@ -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 | { |
@@ -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 | { |
@@ -15,7 +15,7 @@ |
||
15 | 15 | /** |
16 | 16 | * Actual run function for all widget classes extending BaseWidget |
17 | 17 | * |
18 | - * @return mixed |
|
18 | + * @return string |
|
19 | 19 | */ |
20 | 20 | public function widgetRun() |
21 | 21 | { |
@@ -15,7 +15,7 @@ |
||
15 | 15 | /** |
16 | 16 | * Actual run function for all widget classes extending BaseWidget |
17 | 17 | * |
18 | - * @return mixed |
|
18 | + * @return string |
|
19 | 19 | */ |
20 | 20 | public function widgetRun() |
21 | 21 | { |
@@ -15,7 +15,7 @@ |
||
15 | 15 | /** |
16 | 16 | * Actual run function for all widget classes extending BaseWidget |
17 | 17 | * |
18 | - * @return mixed |
|
18 | + * @return string |
|
19 | 19 | */ |
20 | 20 | public function widgetRun() |
21 | 21 | { |
@@ -15,7 +15,7 @@ |
||
15 | 15 | /** |
16 | 16 | * Actual run function for all widget classes extending BaseWidget |
17 | 17 | * |
18 | - * @return mixed |
|
18 | + * @return string |
|
19 | 19 | */ |
20 | 20 | public function widgetRun() |
21 | 21 | { |
@@ -15,7 +15,7 @@ |
||
15 | 15 | /** |
16 | 16 | * Actual run function for all widget classes extending BaseWidget |
17 | 17 | * |
18 | - * @return mixed |
|
18 | + * @return string |
|
19 | 19 | */ |
20 | 20 | public function widgetRun() |
21 | 21 | { |