@@ -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 | { |
@@ -16,7 +16,7 @@ |
||
| 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 | { |
@@ -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); |
@@ -269,7 +269,7 @@ |
||
| 269 | 269 | } |
| 270 | 270 | |
| 271 | 271 | /** |
| 272 | - * @param ActiveRecord|HasProperties $model |
|
| 272 | + * @param \app\modules\shop\models\Customer $model |
|
| 273 | 273 | * @param string $idAttribute |
| 274 | 274 | * @return bool |
| 275 | 275 | */ |