Completed
Pull Request — 2.1-date-format-consistency (#11234)
by
unknown
40:11
created
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.
extensions/mongodb/ActiveRecord.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
      * By default this method returns the class name as the collection name by calling [[Inflector::camel2id()]].
113 113
      * For example, 'Customer' becomes 'customer', and 'OrderItem' becomes
114 114
      * 'order_item'. You may override this method if the collection is not named after this convention.
115
-     * @return string|array the collection name
115
+     * @return string the collection name
116 116
      */
117 117
     public static function collectionName()
118 118
     {
Please login to merge, or discard this patch.
extensions/mongodb/file/ActiveQuery.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -71,6 +71,7 @@
 block discarded – undo
71 71
 
72 72
     /**
73 73
      * @inheritdoc
74
+     * @param \yii\mongodb\Connection $db
74 75
      */
75 76
     protected function buildCursor($db = null)
76 77
     {
Please login to merge, or discard this patch.
extensions/mongodb/file/ActiveRecord.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      *     );
79 79
      * }
80 80
      * ~~~
81
-     * @return array list of attribute names.
81
+     * @return string[] list of attribute names.
82 82
      */
83 83
     public function attributes()
84 84
     {
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
 
233 233
     /**
234 234
      * Refreshes the [[file]] attribute from file collection, using current primary key.
235
-     * @return \MongoGridFSFile|null refreshed file value.
235
+     * @return \MongoGridFSFile refreshed file value.
236 236
      */
237 237
     public function refreshFile()
238 238
     {
Please login to merge, or discard this patch.
extensions/mongodb/Query.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
 
72 72
     /**
73 73
      * Sets the list of fields of the results to return.
74
-     * @param array $fields fields of the results to return.
74
+     * @param string[] $fields fields of the results to return.
75 75
      * @return static the query object itself.
76 76
      */
77 77
     public function select(array $fields)
Please login to merge, or discard this patch.