@@ -74,7 +74,7 @@ |
||
| 74 | 74 | * Get OrderItem. |
| 75 | 75 | * @param int $id |
| 76 | 76 | * @param bool $checkOrderAttachment |
| 77 | - * @return OrderItem |
|
| 77 | + * @return null|Order |
|
| 78 | 78 | * @throws NotFoundHttpException |
| 79 | 79 | */ |
| 80 | 80 | protected function loadOrderItem($id, $checkOrderAttachment = true) |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | /** |
| 28 | 28 | * @param $id |
| 29 | 29 | * @param null|string $backUrl |
| 30 | - * @return bool|\yii\web\Response |
|
| 30 | + * @return \yii\web\Response |
|
| 31 | 31 | */ |
| 32 | 32 | public function actionAdd($id, $backUrl = null) |
| 33 | 33 | { |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | /** |
| 39 | 39 | * @param $id |
| 40 | 40 | * @param null|string $backUrl |
| 41 | - * @return bool|\yii\web\Response |
|
| 41 | + * @return \yii\web\Response |
|
| 42 | 42 | */ |
| 43 | 43 | public function actionRemove($id, $backUrl = null) |
| 44 | 44 | { |
@@ -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) |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | } |
| 87 | 87 | |
| 88 | 88 | /** |
| 89 | - * @return Order[]|null |
|
| 89 | + * @return \yii\db\ActiveQuery |
|
| 90 | 90 | */ |
| 91 | 91 | public function getOrders() |
| 92 | 92 | { |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | } |
| 95 | 95 | |
| 96 | 96 | /** |
| 97 | - * @return Customer|null |
|
| 97 | + * @return \yii\db\ActiveQuery |
|
| 98 | 98 | */ |
| 99 | 99 | public function getCustomer() |
| 100 | 100 | { |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | } |
| 103 | 103 | |
| 104 | 104 | /** |
| 105 | - * @return DeliveryInformation|null |
|
| 105 | + * @return \yii\db\ActiveQuery |
|
| 106 | 106 | */ |
| 107 | 107 | public function getDeliveryInformation() |
| 108 | 108 | { |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | } |
| 119 | 119 | |
| 120 | 120 | /** |
| 121 | - * @return PropertyGroup|null |
|
| 121 | + * @return PropertyGroup |
|
| 122 | 122 | */ |
| 123 | 123 | public function getPropertyGroup() |
| 124 | 124 | { |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | /** |
| 129 | 129 | * @param Customer $customer |
| 130 | 130 | * @param bool $dummyObject |
| 131 | - * @return Contragent|null |
|
| 131 | + * @return Contragent |
|
| 132 | 132 | */ |
| 133 | 133 | public static function createEmptyContragent(Customer $customer, $dummyObject = true) |
| 134 | 134 | { |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | } |
| 104 | 104 | |
| 105 | 105 | /** |
| 106 | - * @return Order[]|null |
|
| 106 | + * @return \yii\db\ActiveQuery |
|
| 107 | 107 | */ |
| 108 | 108 | public function getOrders() |
| 109 | 109 | { |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | } |
| 112 | 112 | |
| 113 | 113 | /** |
| 114 | - * @return User|null |
|
| 114 | + * @return \yii\db\ActiveQuery |
|
| 115 | 115 | */ |
| 116 | 116 | public function getUser() |
| 117 | 117 | { |
@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | } |
| 120 | 120 | |
| 121 | 121 | /** |
| 122 | - * @return Contragent[]|null |
|
| 122 | + * @return \yii\db\ActiveQuery |
|
| 123 | 123 | */ |
| 124 | 124 | public function getContragents() |
| 125 | 125 | { |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | } |
| 128 | 128 | |
| 129 | 129 | /** |
| 130 | - * @return Contragent|null |
|
| 130 | + * @return \yii\db\ActiveQuery |
|
| 131 | 131 | */ |
| 132 | 132 | public function getContragent() |
| 133 | 133 | { |
@@ -224,7 +224,7 @@ discard block |
||
| 224 | 224 | } |
| 225 | 225 | |
| 226 | 226 | /** |
| 227 | - * @return PropertyGroup|null |
|
| 227 | + * @return PropertyGroup |
|
| 228 | 228 | */ |
| 229 | 229 | public function getPropertyGroup() |
| 230 | 230 | { |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | /** |
| 62 | - * @return Contragent|null |
|
| 62 | + * @return \yii\db\ActiveQuery |
|
| 63 | 63 | */ |
| 64 | 64 | public function getContragent() |
| 65 | 65 | { |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | /** |
| 70 | - * @return Country|null |
|
| 70 | + * @return \yii\db\ActiveQuery |
|
| 71 | 71 | */ |
| 72 | 72 | public function getCountry() |
| 73 | 73 | { |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | /** |
| 78 | - * @return City|null |
|
| 78 | + * @return \yii\db\ActiveQuery |
|
| 79 | 79 | */ |
| 80 | 80 | public function getCity() |
| 81 | 81 | { |
@@ -84,7 +84,7 @@ discard block |
||
| 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 | { |
@@ -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 | { |