@@ -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 |
@@ -16,6 +16,9 @@ discard block |
||
16 | 16 | const EVENT_PRE_DECORATOR = 'pre-decorator'; |
17 | 17 | const EVENT_POST_DECORATOR = 'post-decorator'; |
18 | 18 | |
19 | + /** |
|
20 | + * @param string $methodName |
|
21 | + */ |
|
19 | 22 | protected function renderDecorator($methodName, $view, $params = []) |
20 | 23 | { |
21 | 24 | if (!empty(Yii::$app->response->title)) { |
@@ -91,6 +94,7 @@ discard block |
||
91 | 94 | |
92 | 95 | /** |
93 | 96 | * @inheritdoc |
97 | + * @param string $view |
|
94 | 98 | */ |
95 | 99 | public function render($view, $params = []) |
96 | 100 | { |
@@ -99,6 +103,7 @@ discard block |
||
99 | 103 | |
100 | 104 | /** |
101 | 105 | * @inheritdoc |
106 | + * @param string $view |
|
102 | 107 | */ |
103 | 108 | public function renderAjax($view, $params = []) |
104 | 109 | { |
@@ -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) { |