Completed
Pull Request — 2.1-date-format-consistency (#11234)
by
unknown
40:11
created
extensions/apidoc/renderers/GuideRenderer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
extensions/apidoc/templates/html/ApiRenderer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
extensions/authclient/AuthAction.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
extensions/authclient/BaseOAuth.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
extensions/authclient/OAuthToken.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
extensions/authclient/OpenId.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@
 block discarded – undo
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 = [])
Please login to merge, or discard this patch.
extensions/debug/panels/AssetPanel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
extensions/debug/views/default/index.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
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
 ?>
Please login to merge, or discard this patch.
extensions/elasticsearch/ActiveQuery.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -250,6 +250,7 @@
 block discarded – undo
250 250
 
251 251
     /**
252 252
      * @inheritdoc
253
+     * @param string $field
253 254
      */
254 255
     public function column($field, $db = null)
255 256
     {
Please login to merge, or discard this patch.