@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | |
120 | 120 | /** |
121 | 121 | * Return delete modes list |
122 | - * @return array |
|
122 | + * @return string[] |
|
123 | 123 | */ |
124 | 124 | public static function deleteModesList() |
125 | 125 | { |
@@ -239,7 +239,7 @@ discard block |
||
239 | 239 | /** |
240 | 240 | * Returns model using indentity map and cache |
241 | 241 | * @param int $id |
242 | - * @param int|null $isActive |
|
242 | + * @param integer $isActive |
|
243 | 243 | * @return Category|null |
244 | 244 | */ |
245 | 245 | public static function findById($id, $isActive = 1) |
@@ -275,6 +275,7 @@ discard block |
||
275 | 275 | /** |
276 | 276 | * Finds category by slug inside category_group_id |
277 | 277 | * Uses cache and identity_map |
278 | + * @param integer $category_group_id |
|
278 | 279 | */ |
279 | 280 | public static function findBySlug($slug, $category_group_id, $parent_id = 0) |
280 | 281 | { |
@@ -328,6 +329,7 @@ discard block |
||
328 | 329 | /** |
329 | 330 | * Ищет по name в рамках category_group_id |
330 | 331 | * Заносит в identity_map |
332 | + * @param integer $category_group_id |
|
331 | 333 | */ |
332 | 334 | public static function findByName($name, $category_group_id, $parent_id = 0) |
333 | 335 | { |
@@ -415,6 +417,7 @@ discard block |
||
415 | 417 | /** |
416 | 418 | * Ищет root для группы категорий |
417 | 419 | * Использует identity_map |
420 | + * @param integer $id |
|
418 | 421 | * @return Category|null |
419 | 422 | */ |
420 | 423 | public static function findRootForCategoryGroup($id = null) |
@@ -477,7 +480,7 @@ discard block |
||
477 | 480 | |
478 | 481 | /** |
479 | 482 | * @param int $parentId |
480 | - * @param int|null $isActive |
|
483 | + * @param integer $isActive |
|
481 | 484 | * @return Category[]|array |
482 | 485 | */ |
483 | 486 | public static function getByParentId($parentId = null, $isActive = 1) |
@@ -252,7 +252,7 @@ discard block |
||
252 | 252 | } |
253 | 253 | |
254 | 254 | /** |
255 | - * @return Customer|null |
|
255 | + * @return \yii\db\ActiveQuery |
|
256 | 256 | */ |
257 | 257 | public function getCustomer() |
258 | 258 | { |
@@ -295,7 +295,7 @@ discard block |
||
295 | 295 | } |
296 | 296 | |
297 | 297 | /** |
298 | - * @return OrderDeliveryInformation|null |
|
298 | + * @return \yii\db\ActiveQuery |
|
299 | 299 | */ |
300 | 300 | public function getOrderDeliveryInformation() |
301 | 301 | { |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | } |
98 | 98 | |
99 | 99 | /** |
100 | - * @return Order|null |
|
100 | + * @return \yii\db\ActiveQuery |
|
101 | 101 | */ |
102 | 102 | public function getOrder() |
103 | 103 | { |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | } |
106 | 106 | |
107 | 107 | /** |
108 | - * @return ShippingOption|null |
|
108 | + * @return \yii\db\ActiveQuery |
|
109 | 109 | */ |
110 | 110 | public function getShippingOption() |
111 | 111 | { |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | } |
134 | 134 | |
135 | 135 | /** |
136 | - * @return Product|null |
|
136 | + * @return \yii\db\ActiveQuery |
|
137 | 137 | */ |
138 | 138 | public function getProduct() |
139 | 139 | { |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | } |
142 | 142 | |
143 | 143 | /** |
144 | - * @return Addon|null |
|
144 | + * @return \yii\db\ActiveQuery |
|
145 | 145 | */ |
146 | 146 | public function getAddon() |
147 | 147 | { |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | } |
150 | 150 | |
151 | 151 | /** |
152 | - * @return Order|null |
|
152 | + * @return \yii\db\ActiveQuery |
|
153 | 153 | */ |
154 | 154 | public function getOrder() |
155 | 155 | { |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | } |
131 | 131 | |
132 | 132 | /** |
133 | - * @return OrderStageLeaf[] |
|
133 | + * @return \yii\db\ActiveQuery |
|
134 | 134 | */ |
135 | 135 | public function getNextLeafs() |
136 | 136 | { |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | } |
140 | 140 | |
141 | 141 | /** |
142 | - * @return OrderStageLeaf[] |
|
142 | + * @return \yii\db\ActiveQuery |
|
143 | 143 | */ |
144 | 144 | public function getPrevLeafs() |
145 | 145 | { |
@@ -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 | { |
@@ -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 | { |