@@ -231,7 +231,7 @@ |
||
231 | 231 | |
232 | 232 | /** |
233 | 233 | * Set status |
234 | - * @param $status |
|
234 | + * @param string $status |
|
235 | 235 | * @return bool |
236 | 236 | */ |
237 | 237 | public function setStatus($status) |
@@ -7,5 +7,9 @@ |
||
7 | 7 | interface SpamCheckable |
8 | 8 | { |
9 | 9 | public function check(); |
10 | + |
|
11 | + /** |
|
12 | + * @return string |
|
13 | + */ |
|
10 | 14 | public function getType(); |
11 | 15 | } |
12 | 16 | \ No newline at end of file |
@@ -31,7 +31,7 @@ |
||
31 | 31 | * Installs module |
32 | 32 | * @param bool $applyAppMigrations |
33 | 33 | * @param bool $updateComposer |
34 | - * @return mixed |
|
34 | + * @return boolean |
|
35 | 35 | */ |
36 | 36 | public static function installModule($applyAppMigrations = true, $updateComposer = true) |
37 | 37 | { |
@@ -36,6 +36,9 @@ |
||
36 | 36 | $this->elements[$cacheStackId][$elementType][] = $arguments; |
37 | 37 | } |
38 | 38 | |
39 | + /** |
|
40 | + * @param string $elementType |
|
41 | + */ |
|
39 | 42 | public function gather($elementType, $arguments) |
40 | 43 | { |
41 | 44 | if ($this->currentStackId===null) { |
@@ -151,6 +151,7 @@ |
||
151 | 151 | |
152 | 152 | /** |
153 | 153 | * @inheritdoc |
154 | + * @param string $view |
|
154 | 155 | */ |
155 | 156 | public function render($view, $params = []) |
156 | 157 | { |
@@ -31,6 +31,9 @@ |
||
31 | 31 | : $name; |
32 | 32 | } |
33 | 33 | |
34 | + /** |
|
35 | + * @param string $name |
|
36 | + */ |
|
34 | 37 | protected function saveEav($id, $groupId, $name, $value) |
35 | 38 | { |
36 | 39 | $key = $this->getKey($name); |
@@ -79,6 +79,7 @@ discard block |
||
79 | 79 | |
80 | 80 | /** |
81 | 81 | * Возвращает модель по ID с использованием IdentityMap |
82 | + * @param integer $id |
|
82 | 83 | */ |
83 | 84 | public static function findById($id) |
84 | 85 | { |
@@ -139,7 +140,7 @@ discard block |
||
139 | 140 | } |
140 | 141 | |
141 | 142 | /** |
142 | - * @param $name |
|
143 | + * @param string $name |
|
143 | 144 | * @return null|int |
144 | 145 | */ |
145 | 146 | public static function findByName($name) |
@@ -137,6 +137,9 @@ |
||
137 | 137 | return $result; |
138 | 138 | } |
139 | 139 | |
140 | + /** |
|
141 | + * @param integer $view_id |
|
142 | + */ |
|
140 | 143 | public static function deleteByViewId($view_id = null) |
141 | 144 | { |
142 | 145 | if (null === $view_id) { |
@@ -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 | { |