@@ -291,7 +291,7 @@ |
||
291 | 291 | * @param string $key ContentBlock key |
292 | 292 | * @param array $params . Array of params to be replaced while render |
293 | 293 | * @param yii\base\Model $model . Caller model instance to use in caching |
294 | - * @return mixed |
|
294 | + * @return string |
|
295 | 295 | */ |
296 | 296 | public static function getChunk($key, $params = [], yii\base\Model $model = null) |
297 | 297 | { |
@@ -131,7 +131,7 @@ |
||
131 | 131 | } |
132 | 132 | |
133 | 133 | /** |
134 | - * @return Submission[]|array |
|
134 | + * @return \yii\db\ActiveQuery |
|
135 | 135 | */ |
136 | 136 | public function getSubmissions() |
137 | 137 | { |
@@ -64,7 +64,7 @@ |
||
64 | 64 | } |
65 | 65 | |
66 | 66 | /** |
67 | - * @return PropertyGroup|null |
|
67 | + * @return \yii\db\ActiveQuery |
|
68 | 68 | */ |
69 | 69 | public function getGroup() |
70 | 70 | { |
@@ -116,7 +116,7 @@ |
||
116 | 116 | /** |
117 | 117 | * Returns active prefiltered page as array for specified URL (exact match). |
118 | 118 | * Used by ObjectRule |
119 | - * @param $url |
|
119 | + * @param string $url |
|
120 | 120 | * @return null|array |
121 | 121 | */ |
122 | 122 | public static function getActiveByUrl($url) |
@@ -168,7 +168,7 @@ |
||
168 | 168 | } |
169 | 169 | |
170 | 170 | /** |
171 | - * @return array |
|
171 | + * @return string[] |
|
172 | 172 | */ |
173 | 173 | public function getOfferElements() |
174 | 174 | { |
@@ -213,7 +213,7 @@ discard block |
||
213 | 213 | /** |
214 | 214 | * @param int $object_id |
215 | 215 | * @param int $object_model_id |
216 | - * @return null|\yii\db\ActiveRecord[] |
|
216 | + * @return string |
|
217 | 217 | */ |
218 | 218 | public static function getForModel($object_id, $object_model_id) |
219 | 219 | { |
@@ -269,7 +269,7 @@ discard block |
||
269 | 269 | } |
270 | 270 | |
271 | 271 | /** |
272 | - * @param ActiveRecord|HasProperties $model |
|
272 | + * @param ActiveRecord $model |
|
273 | 273 | * @param string $idAttribute |
274 | 274 | * @return bool |
275 | 275 | */ |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | * @param string $key |
114 | 114 | * @param bool $valueOnly |
115 | 115 | * @param mixed $defaultValue |
116 | - * @return ContentBlock|string |
|
116 | + * @return string |
|
117 | 117 | */ |
118 | 118 | public static function getChunk($key, $valueOnly = true, $defaultValue = null) |
119 | 119 | { |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | |
123 | 123 | |
124 | 124 | /** |
125 | - * @return ContentBlockGroup[] |
|
125 | + * @return \yii\db\ActiveQuery |
|
126 | 126 | */ |
127 | 127 | public function getGroup() |
128 | 128 | { |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | } |
76 | 76 | |
77 | 77 | /** |
78 | - * @return ContentBlockGroup[] |
|
78 | + * @return \yii\db\ActiveQuery |
|
79 | 79 | */ |
80 | 80 | public function getChild() |
81 | 81 | { |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | } |
84 | 84 | |
85 | 85 | /** |
86 | - * @return ContentBlock[] |
|
86 | + * @return \yii\db\ActiveQuery |
|
87 | 87 | */ |
88 | 88 | public function getContentBlocks() |
89 | 89 | { |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | } |
56 | 56 | |
57 | 57 | /** |
58 | - * @return Property|null |
|
58 | + * @return \yii\db\ActiveQuery |
|
59 | 59 | */ |
60 | 60 | public function getProperty() |
61 | 61 | { |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | } |
64 | 64 | |
65 | 65 | /** |
66 | - * @return Product|null |
|
66 | + * @return \yii\db\ActiveQuery |
|
67 | 67 | */ |
68 | 68 | public function getProduct() |
69 | 69 | { |