@@ -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 | /** @var \app\components\Response $response */ |
@@ -94,6 +97,7 @@ discard block |
||
| 94 | 97 | |
| 95 | 98 | /** |
| 96 | 99 | * @inheritdoc |
| 100 | + * @param string $view |
|
| 97 | 101 | */ |
| 98 | 102 | public function render($view, $params = []) |
| 99 | 103 | { |
@@ -102,6 +106,7 @@ discard block |
||
| 102 | 106 | |
| 103 | 107 | /** |
| 104 | 108 | * @inheritdoc |
| 109 | + * @param string $view |
|
| 105 | 110 | */ |
| 106 | 111 | public function renderAjax($view, $params = []) |
| 107 | 112 | { |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | /** |
| 21 | 21 | * Saves token in DB. |
| 22 | 22 | * @param OAuthToken $token |
| 23 | - * @return ApiService|null|\yii\db\ActiveQuery|\yii\db\ActiveRecord|static |
|
| 23 | + * @return boolean |
|
| 24 | 24 | */ |
| 25 | 25 | protected function saveAccessToken(OAuthToken $token) |
| 26 | 26 | { |
@@ -24,6 +24,9 @@ |
||
| 24 | 24 | |
| 25 | 25 | class PropertiesController extends Controller |
| 26 | 26 | { |
| 27 | + /** |
|
| 28 | + * @param string $slug |
|
| 29 | + */ |
|
| 27 | 30 | protected function checkDoubledSlugs($slug) |
| 28 | 31 | { |
| 29 | 32 | if (empty($slug) === false) { |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | /** |
| 54 | 54 | * @param $name |
| 55 | 55 | * @param $token |
| 56 | - * @return ApiService|null|\yii\db\ActiveQuery|\yii\db\ActiveRecord |
|
| 56 | + * @return boolean |
|
| 57 | 57 | */ |
| 58 | 58 | public static function saveToken($name, OAuthToken $token) |
| 59 | 59 | { |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | /** |
| 16 | 16 | * Actual run function for all widget classes extending BaseWidget |
| 17 | 17 | * |
| 18 | - * @return mixed |
|
| 18 | + * @return string |
|
| 19 | 19 | */ |
| 20 | 20 | public function widgetRun() |
| 21 | 21 | { |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | /** |
| 12 | 12 | * Actual run function for all widget classes extending BaseWidget |
| 13 | 13 | * |
| 14 | - * @return mixed |
|
| 14 | + * @return string |
|
| 15 | 15 | */ |
| 16 | 16 | public function run() |
| 17 | 17 | { |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | 23 | * Actual run function for all widget classes extending BaseWidget |
| 24 | - * @return mixed |
|
| 24 | + * @return string |
|
| 25 | 25 | */ |
| 26 | 26 | public function widgetRun() |
| 27 | 27 | { |
@@ -432,7 +432,7 @@ |
||
| 432 | 432 | } |
| 433 | 433 | |
| 434 | 434 | /** |
| 435 | - * @return array |
|
| 435 | + * @return string[] |
|
| 436 | 436 | */ |
| 437 | 437 | public static function getAliases() |
| 438 | 438 | { |
@@ -269,7 +269,7 @@ |
||
| 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 | */ |