Completed
Pull Request — 2.1 (#15488)
by Nikolay
37:27
created
framework/db/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.
framework/db/ActiveRelationTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
      * Finds the related records and populates them into the primary models.
186 186
      * @param string $name the relation name
187 187
      * @param array $primaryModels primary models
188
-     * @return array the related models
188
+     * @return ActiveRecordInterface[] the related models
189 189
      * @throws InvalidConfigException if [[link]] is invalid
190 190
      */
191 191
     public function populateRelation($name, &$primaryModels)
@@ -341,7 +341,7 @@  discard block
 block discarded – undo
341 341
     }
342 342
 
343 343
     /**
344
-     * @param array $models
344
+     * @param ActiveRecordInterface[] $models
345 345
      * @param array $link
346 346
      * @param array $viaModels
347 347
      * @param array $viaLink
Please login to merge, or discard this patch.
framework/db/oci/Schema.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -54,6 +54,7 @@
 block discarded – undo
54 54
 
55 55
     /**
56 56
      * @inheritdoc
57
+     * @param string $name
57 58
      */
58 59
     public function quoteSimpleTableName($name)
59 60
     {
Please login to merge, or discard this patch.
framework/requirements/YiiRequirementChecker.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
      * Check the given requirements, collecting results into internal field.
61 61
      * This method can be invoked several times checking different requirement sets.
62 62
      * Use [[getResult()]] or [[render()]] to get the results.
63
-     * @param array|string $requirements requirements to be checked.
63
+     * @param string $requirements requirements to be checked.
64 64
      * If an array, it is treated as the set of requirements;
65 65
      * If a string, it is treated as the path of the file, which contains the requirements;
66 66
      * @return $this self instance.
Please login to merge, or discard this patch.
framework/widgets/LinkPager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -224,7 +224,7 @@
 block discarded – undo
224 224
     }
225 225
 
226 226
     /**
227
-     * @return array the begin and end pages that need to be displayed.
227
+     * @return integer[] the begin and end pages that need to be displayed.
228 228
      */
229 229
     protected function getPageRange()
230 230
     {
Please login to merge, or discard this patch.
framework/db/sqlite/QueryBuilder.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -355,6 +355,7 @@
 block discarded – undo
355 355
 
356 356
     /**
357 357
      * @inheritdoc
358
+     * @param Query $query
358 359
      */
359 360
     public function build($query, $params = [])
360 361
     {
Please login to merge, or discard this patch.
framework/behaviors/AttributeBehavior.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
      * This method is called by [[evaluateAttributes()]]. Its return value will be assigned
127 127
      * to the attributes corresponding to the triggering event.
128 128
      * @param Event $event the event that triggers the current attribute updating.
129
-     * @return mixed the attribute value
129
+     * @return string the attribute value
130 130
      */
131 131
     protected function getValue($event)
132 132
     {
Please login to merge, or discard this patch.
framework/console/controllers/FixtureController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -310,7 +310,7 @@  discard block
 block discarded – undo
310 310
      * Prompts user with confirmation if fixtures should be loaded.
311 311
      * @param array $fixtures
312 312
      * @param array $except
313
-     * @return bool
313
+     * @return boolean|null
314 314
      */
315 315
     private function confirmLoad($fixtures, $except)
316 316
     {
@@ -342,7 +342,7 @@  discard block
 block discarded – undo
342 342
      * Prompts user with confirmation for fixtures that should be unloaded.
343 343
      * @param array $fixtures
344 344
      * @param array $except
345
-     * @return bool
345
+     * @return boolean|null
346 346
      */
347 347
     private function confirmUnload($fixtures, $except)
348 348
     {
Please login to merge, or discard this patch.
framework/base/ErrorHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@
 block discarded – undo
194 194
      * @param string $message the error message.
195 195
      * @param string $file the filename that the error was raised in.
196 196
      * @param int $line the line number the error was raised at.
197
-     * @return bool whether the normal error handler continues.
197
+     * @return null|false whether the normal error handler continues.
198 198
      *
199 199
      * @throws ErrorException
200 200
      */
Please login to merge, or discard this patch.