@@ -22,7 +22,7 @@ |
||
22 | 22 | * Render markdown files |
23 | 23 | * |
24 | 24 | * @param array $files list of markdown files to render |
25 | - * @param $targetDir |
|
25 | + * @param string $targetDir |
|
26 | 26 | */ |
27 | 27 | abstract public function render($files, $targetDir); |
28 | 28 |
@@ -11,7 +11,6 @@ |
||
11 | 11 | use yii\base\InvalidConfigException; |
12 | 12 | use yii\helpers\Html; |
13 | 13 | use yii\helpers\Json; |
14 | -use yii\helpers\StringHelper; |
|
15 | 14 | use yii\web\JsExpression; |
16 | 15 | |
17 | 16 | /** |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | } |
182 | 182 | |
183 | 183 | /** |
184 | - * @param mixed $client auth client instance. |
|
184 | + * @param ClientInterface $client auth client instance. |
|
185 | 185 | * @return Response response instance. |
186 | 186 | * @throws \yii\base\NotSupportedException on invalid client. |
187 | 187 | */ |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | |
219 | 219 | /** |
220 | 220 | * Redirect to the given URL or simply close the popup window. |
221 | - * @param mixed $url URL to redirect, could be a string or array config to generate a valid URL. |
|
221 | + * @param string $url URL to redirect, could be a string or array config to generate a valid URL. |
|
222 | 222 | * @param boolean $enforceRedirect indicates if redirect should be performed even in case of popup window. |
223 | 223 | * @return \yii\web\Response response instance. |
224 | 224 | */ |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | } |
109 | 109 | |
110 | 110 | /** |
111 | - * @param array|OAuthToken $token |
|
111 | + * @param OAuthToken $token |
|
112 | 112 | */ |
113 | 113 | public function setAccessToken($token) |
114 | 114 | { |
@@ -294,7 +294,7 @@ discard block |
||
294 | 294 | |
295 | 295 | /** |
296 | 296 | * Converts XML document to array. |
297 | - * @param string|\SimpleXMLElement $xml xml to process. |
|
297 | + * @param string $xml xml to process. |
|
298 | 298 | * @return array XML array representation. |
299 | 299 | */ |
300 | 300 | protected function convertXmlToArray($xml) |
@@ -99,7 +99,7 @@ |
||
99 | 99 | /** |
100 | 100 | * Sets param by name. |
101 | 101 | * @param string $name param name. |
102 | - * @param mixed $value param value, |
|
102 | + * @param string $value param value, |
|
103 | 103 | */ |
104 | 104 | public function setParam($name, $value) |
105 | 105 | { |
@@ -232,7 +232,7 @@ |
||
232 | 232 | * @param string $url request URL. |
233 | 233 | * @param string $method request method. |
234 | 234 | * @param array $params request parameters. |
235 | - * @return array|string response. |
|
235 | + * @return string response. |
|
236 | 236 | * @throws \yii\base\Exception on failure. |
237 | 237 | */ |
238 | 238 | protected function sendRequest($url, $method = 'GET', $params = []) |
@@ -75,7 +75,7 @@ |
||
75 | 75 | * |
76 | 76 | * @param AssetBundle[] $bundles Array of bundles to formatting. |
77 | 77 | * |
78 | - * @return AssetManager |
|
78 | + * @return AssetBundle[] |
|
79 | 79 | */ |
80 | 80 | protected function format(array $bundles) |
81 | 81 | { |
@@ -7,7 +7,6 @@ |
||
7 | 7 | |
8 | 8 | use yii\helpers\Html; |
9 | 9 | use yii\grid\GridView; |
10 | -use yii\data\ArrayDataProvider; |
|
11 | 10 | |
12 | 11 | $this->title = 'Yii Debugger'; |
13 | 12 | ?> |
@@ -250,6 +250,7 @@ |
||
250 | 250 | |
251 | 251 | /** |
252 | 252 | * @inheritdoc |
253 | + * @param string $field |
|
253 | 254 | */ |
254 | 255 | public function column($field, $db = null) |
255 | 256 | { |