@@ -16,7 +16,7 @@ discard block |
||
| 16 | 16 | public $cacheLifetime = 86400; |
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | - * @param array $variationAttributes |
|
| 19 | + * @param ThemeVariation $variationAttributes |
|
| 20 | 20 | */ |
| 21 | 21 | public function __construct(ThemeVariation $variationAttributes) |
| 22 | 22 | { |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | /** |
| 62 | - * @return array Array of tags(strings) |
|
| 62 | + * @return string[] Array of tags(strings) |
|
| 63 | 63 | */ |
| 64 | 64 | public function getCacheTags() |
| 65 | 65 | { |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | |
| 76 | 76 | /** |
| 77 | 77 | * Relation to ThemeWidgets |
| 78 | - * @return ThemeWidgets |
|
| 78 | + * @return \yii\db\ActiveQuery |
|
| 79 | 79 | */ |
| 80 | 80 | public function getWidget() |
| 81 | 81 | { |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | |
| 85 | 85 | /** |
| 86 | 86 | * Relation to ThemeWidgets |
| 87 | - * @return ThemeWidgets |
|
| 87 | + * @return \yii\db\ActiveQuery |
|
| 88 | 88 | */ |
| 89 | 89 | public function getPart() |
| 90 | 90 | { |
@@ -122,7 +122,7 @@ |
||
| 122 | 122 | * |
| 123 | 123 | * @todo rewrite all json_decode calls in that manner |
| 124 | 124 | * |
| 125 | - * @param null $json |
|
| 125 | + * @param string $json |
|
| 126 | 126 | * @return null|string |
| 127 | 127 | */ |
| 128 | 128 | private static function _php7JsonPatch($json = null) |
@@ -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 | { |
@@ -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 | { |
@@ -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 | { |