@@ -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 | { |
@@ -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 | */ |
@@ -104,7 +104,7 @@ |
||
| 104 | 104 | * Deletes an existing Wysiwyg model. |
| 105 | 105 | * If deletion is successful, the browser will be redirected to the 'index' page. |
| 106 | 106 | * @param integer $id |
| 107 | - * @return mixed |
|
| 107 | + * @return \yii\web\Response |
|
| 108 | 108 | */ |
| 109 | 109 | public function actionDelete($id) |
| 110 | 110 | { |
@@ -108,7 +108,7 @@ |
||
| 108 | 108 | * Deletes an existing ContentBlockGroup model. |
| 109 | 109 | * If deletion is successful, the browser will be redirected to the 'index' page. |
| 110 | 110 | * @param integer $id |
| 111 | - * @return mixed |
|
| 111 | + * @return \yii\web\Response |
|
| 112 | 112 | */ |
| 113 | 113 | public function actionDelete($id, $returnUrl = null) |
| 114 | 114 | { |