@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | } |
195 | 195 | |
196 | 196 | /** |
197 | - * @param $property_id |
|
197 | + * @param integer $property_id |
|
198 | 198 | * @param $category_id |
199 | 199 | * @param $properties |
200 | 200 | * @return PropertyStaticValues[] |
@@ -333,6 +333,9 @@ discard block |
||
333 | 333 | return $allSelections; |
334 | 334 | } |
335 | 335 | |
336 | + /** |
|
337 | + * @param string $joinCondition |
|
338 | + */ |
|
336 | 339 | private static function initSubQuery($category_id, $joinCondition) |
337 | 340 | { |
338 | 341 | $product = Yii::$container->get(Product::class); |
@@ -124,7 +124,7 @@ |
||
124 | 124 | |
125 | 125 | |
126 | 126 | /** |
127 | - * @return ContentBlockGroup[] |
|
127 | + * @return \yii\db\ActiveQuery |
|
128 | 128 | */ |
129 | 129 | public function getGroup() |
130 | 130 | { |
@@ -22,6 +22,9 @@ discard block |
||
22 | 22 | protected $backendLink; |
23 | 23 | protected static $classNames; |
24 | 24 | |
25 | + /** |
|
26 | + * @param integer $id |
|
27 | + */ |
|
25 | 28 | protected function getPageLinks($id) |
26 | 29 | { |
27 | 30 | /** @var Page $model */ |
@@ -46,6 +49,9 @@ discard block |
||
46 | 49 | } |
47 | 50 | } |
48 | 51 | |
52 | + /** |
|
53 | + * @param integer $id |
|
54 | + */ |
|
49 | 55 | protected function getCategoryLinks($id) |
50 | 56 | { |
51 | 57 | $model = Category::findById($id, null); |
@@ -72,6 +78,9 @@ discard block |
||
72 | 78 | } |
73 | 79 | } |
74 | 80 | |
81 | + /** |
|
82 | + * @param integer $id |
|
83 | + */ |
|
75 | 84 | protected function getProductLinks($id) |
76 | 85 | { |
77 | 86 | $product = Yii::$container->get(Product::class); |
@@ -316,6 +316,9 @@ |
||
316 | 316 | return $result; |
317 | 317 | } |
318 | 318 | |
319 | + /** |
|
320 | + * @param string $className |
|
321 | + */ |
|
319 | 322 | private function invalidateTags($className, $ids) |
320 | 323 | { |
321 | 324 | $tags = [ |
@@ -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 | { |
@@ -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 | { |
@@ -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 | { |
@@ -344,7 +344,7 @@ discard block |
||
344 | 344 | } |
345 | 345 | |
346 | 346 | /** |
347 | - * @return Category|null |
|
347 | + * @return ActiveQuery |
|
348 | 348 | */ |
349 | 349 | public function getCategory() |
350 | 350 | { |
@@ -1115,7 +1115,7 @@ discard block |
||
1115 | 1115 | } |
1116 | 1116 | |
1117 | 1117 | /** |
1118 | - * @param int|Category|null $category |
|
1118 | + * @param integer $category |
|
1119 | 1119 | * @param bool $asMainCategory |
1120 | 1120 | * @return bool |
1121 | 1121 | * @throws \yii\db\Exception |
@@ -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 | { |