Completed
Pull Request — 2.1-date-format-consistency (#11234)
by
unknown
40:11
created
extensions/elasticsearch/Connection.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -274,9 +274,9 @@  discard block
 block discarded – undo
274 274
     /**
275 275
      * Creates URL
276 276
      *
277
-     * @param mixed $path path
277
+     * @param string $path path
278 278
      * @param array $options URL options
279
-     * @return array
279
+     * @return string
280 280
      */
281 281
     private function createUrl($path, $options = [])
282 282
     {
@@ -431,7 +431,7 @@  discard block
 block discarded – undo
431 431
 
432 432
     /**
433 433
      * Try to decode error information if it is valid json, return it if not.
434
-     * @param $body
434
+     * @param string $body
435 435
      * @return mixed
436 436
      */
437 437
     protected function decodeErrorBody($body)
Please login to merge, or discard this patch.
extensions/faker/FixtureController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -225,7 +225,7 @@
 block discarded – undo
225 225
     /**
226 226
      * Prompts user with confirmation if caches should be flushed.
227 227
      * @param array $cachesNames
228
-     * @return boolean
228
+     * @return boolean|null
229 229
      */
230 230
     private function confirmFlush($cachesNames)
231 231
     {
Please login to merge, or discard this patch.
extensions/gii/CodeFile.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
     /**
151 151
      * Returns diff or false if it cannot be calculated
152 152
      *
153
-     * @return boolean|string
153
+     * @return false|string
154 154
      */
155 155
     public function diff()
156 156
     {
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
      * Renders diff between two sets of lines
169 169
      *
170 170
      * @param mixed $lines1
171
-     * @param mixed $lines2
171
+     * @param string $lines2
172 172
      * @return string
173 173
      */
174 174
     private function renderDiff($lines1, $lines2)
Please login to merge, or discard this patch.
extensions/gii/Generator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
      * Returns the list of sticky attributes.
114 114
      * A sticky attribute will remember its value and will initialize the attribute with this value
115 115
      * when the generator is restarted.
116
-     * @return array list of sticky attributes
116
+     * @return string[] list of sticky attributes
117 117
      */
118 118
     public function stickyAttributes()
119 119
     {
Please login to merge, or discard this patch.
extensions/gii/generators/extension/Generator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@
 block discarded – undo
219 219
     }
220 220
 
221 221
     /**
222
-     * @return boolean the directory that contains the module class
222
+     * @return string|boolean the directory that contains the module class
223 223
      */
224 224
     public function getOutputPath()
225 225
     {
Please login to merge, or discard this patch.
extensions/gii/generators/form/Generator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@
 block discarded – undo
144 144
     }
145 145
 
146 146
     /**
147
-     * @return array list of safe attributes of [[modelClass]]
147
+     * @return string[] list of safe attributes of [[modelClass]]
148 148
      */
149 149
     public function getModelAttributes()
150 150
     {
Please login to merge, or discard this patch.
extensions/gii/generators/model/Generator.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -393,6 +393,7 @@
 block discarded – undo
393 393
      * For simplicity, this method only deals with the case where the pivot contains two PK columns,
394 394
      * each referencing a column in a different table.
395 395
      * @param \yii\db\TableSchema the table being checked
396
+     * @param \yii\db\TableSchema $table
396 397
      * @return array|boolean the relevant foreign key constraint information if the table is a junction table,
397 398
      * or false if the table is not a junction table.
398 399
      */
Please login to merge, or discard this patch.
extensions/gii/generators/module/Generator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
     }
154 154
 
155 155
     /**
156
-     * @return boolean the directory that contains the module class
156
+     * @return string|boolean the directory that contains the module class
157 157
      */
158 158
     public function getModulePath()
159 159
     {
Please login to merge, or discard this patch.
extensions/mongodb/ActiveQuery.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -95,6 +95,7 @@
 block discarded – undo
95 95
 
96 96
     /**
97 97
      * @inheritdoc
98
+     * @param Connection $db
98 99
      */
99 100
     protected function buildCursor($db = null)
100 101
     {
Please login to merge, or discard this patch.