Completed
Pull Request — 2.1-date-format-consistency (#11234)
by
unknown
40:11
created
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.
extensions/redis/LuaScriptBuilder.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -335,6 +335,9 @@
 block discarded – undo
335 335
         return "$column >= $value1 and $column <= $value2";
336 336
     }
337 337
 
338
+    /**
339
+     * @param string $operator
340
+     */
338 341
     private function buildInCondition($operator, $operands, &$columns)
339 342
     {
340 343
         if (!isset($operands[0], $operands[1])) {
Please login to merge, or discard this patch.
extensions/sphinx/ActiveRecord.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -320,7 +320,7 @@
 block discarded – undo
320 320
     /**
321 321
      * Returns the list of all attribute names of the model.
322 322
      * The default implementation will return all column names of the table associated with this AR class.
323
-     * @return array list of attribute names.
323
+     * @return integer[] list of attribute names.
324 324
      */
325 325
     public function attributes()
326 326
     {
Please login to merge, or discard this patch.
extensions/sphinx/QueryBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1111,7 +1111,7 @@
 block discarded – undo
1111 1111
     }
1112 1112
 
1113 1113
     /**
1114
-     * @param array $indexes index names.
1114
+     * @param string[] $indexes index names.
1115 1115
      * @return IndexSchema[] index schemas.
1116 1116
      */
1117 1117
     private function getIndexSchemas($indexes)
Please login to merge, or discard this patch.
extensions/swiftmailer/Mailer.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 
92 92
 
93 93
     /**
94
-     * @return array|\Swift_Mailer Swift mailer instance or array configuration.
94
+     * @return \Swift_Mailer Swift mailer instance or array configuration.
95 95
      */
96 96
     public function getSwiftMailer()
97 97
     {
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     }
116 116
 
117 117
     /**
118
-     * @return array|\Swift_Transport
118
+     * @return \Swift_Transport
119 119
      */
120 120
     public function getTransport()
121 121
     {
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
     /**
182 182
      * Creates Swift library object, from given array configuration.
183 183
      * @param array $config object configuration
184
-     * @return Object created object
184
+     * @return \Swift_Events_EventListener created object
185 185
      * @throws \yii\base\InvalidConfigException on invalid configuration.
186 186
      */
187 187
     protected function createSwiftObject(array $config)
Please login to merge, or discard this patch.
framework/base/Controller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@
 block discarded – undo
170 170
      * of module IDs, controller ID and action ID. If the route starts with a slash '/', the parsing of
171 171
      * the route will start from the application; otherwise, it will start from the parent module of this controller.
172 172
      * @param string $route the route to be handled, e.g., 'view', 'comment/view', '/admin/comment/view'.
173
-     * @param array $params the parameters to be passed to the action.
173
+     * @param string[] $params the parameters to be passed to the action.
174 174
      * @return mixed the result of the action.
175 175
      * @see runAction()
176 176
      */
Please login to merge, or discard this patch.
framework/base/Model.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -378,7 +378,7 @@  discard block
 block discarded – undo
378 378
      * $model->validators[] = $newValidator;
379 379
      * ~~~
380 380
      *
381
-     * @return ArrayObject|\yii\validators\Validator[] all the validators declared in the model.
381
+     * @return ArrayObject all the validators declared in the model.
382 382
      */
383 383
     public function getValidators()
384 384
     {
@@ -626,7 +626,7 @@  discard block
 block discarded – undo
626 626
      * @param array $names list of attributes whose value needs to be returned.
627 627
      * Defaults to null, meaning all attributes listed in [[attributes()]] will be returned.
628 628
      * If it is an array, only the attributes in the array will be returned.
629
-     * @param array $except list of attributes whose value should NOT be returned.
629
+     * @param string[] $except list of attributes whose value should NOT be returned.
630 630
      * @return array attribute values (name => value).
631 631
      */
632 632
     public function getAttributes($names = null, $except = [])
Please login to merge, or discard this patch.