Completed
Push — 2.1 ( 3b4412...c2694e )
by
unknown
12:10
created
framework/db/TableSchema.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
 
74 74
     /**
75 75
      * Returns the names of all columns in this table.
76
-     * @return array list of column names
76
+     * @return integer[] list of column names
77 77
      */
78 78
     public function getColumnNames()
79 79
     {
Please login to merge, or discard this patch.
framework/db/Query.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -866,7 +866,7 @@  discard block
 block discarded – undo
866 866
 
867 867
     /**
868 868
      * Sets the GROUP BY part of the query.
869
-     * @param string|array|ExpressionInterface $columns the columns to be grouped by.
869
+     * @param string $columns the columns to be grouped by.
870 870
      * Columns can be specified in either a string (e.g. "id, name") or an array (e.g. ['id', 'name']).
871 871
      * The method will automatically quote the column names unless a column contains some parenthesis
872 872
      * (which means the column contains a DB expression).
@@ -1069,7 +1069,7 @@  discard block
 block discarded – undo
1069 1069
 
1070 1070
     /**
1071 1071
      * Appends a SQL statement using UNION operator.
1072
-     * @param string|Query $sql the SQL statement to be appended using UNION
1072
+     * @param Query $sql the SQL statement to be appended using UNION
1073 1073
      * @param bool $all TRUE if using UNION ALL and FALSE if using UNION
1074 1074
      * @return $this the query object itself
1075 1075
      */
Please login to merge, or discard this patch.
framework/db/pgsql/QueryBuilder.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -245,6 +245,7 @@
 block discarded – undo
245 245
 
246 246
     /**
247 247
      * {@inheritdoc}
248
+     * @param string $table
248 249
      */
249 250
     public function insert($table, $columns, &$params)
250 251
     {
Please login to merge, or discard this patch.
framework/helpers/BaseFileHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -773,7 +773,7 @@
 block discarded – undo
773 773
      * @param string $pattern
774 774
      * @param bool $caseSensitive
775 775
      * @throws InvalidArgumentException
776
-     * @return array with keys: (string) pattern, (int) flags, (int|bool) firstWildcard
776
+     * @return string with keys: (string) pattern, (int) flags, (int|bool) firstWildcard
777 777
      */
778 778
     private static function parseExcludePattern($pattern, $caseSensitive)
779 779
     {
Please login to merge, or discard this patch.
framework/db/conditions/SimpleConditionBuilder.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use yii\db\ExpressionBuilderInterface;
6 6
 use yii\db\ExpressionBuilderTrait;
7 7
 use yii\db\ExpressionInterface;
8
-use yii\db\Query;
9 8
 
10 9
 /**
11 10
  * Class NotConditionBuilder builds objects of [[SimpleCondition]]
Please login to merge, or discard this patch.
framework/data/DataFilter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -350,7 +350,7 @@
 block discarded – undo
350 350
     /**
351 351
      * Detect attribute type from given validator.
352 352
      *
353
-     * @param Validator validator from which to detect attribute type.
353
+     * @param Validator Validator from which to detect attribute type.
354 354
      * @return string|null detected attribute type.
355 355
      * @since 2.0.14
356 356
      */
Please login to merge, or discard this patch.
build/controllers/PhpDocController.php 1 patch
Doc Comments   +11 added lines, -2 removed lines patch added patch discarded remove patch
@@ -582,7 +582,7 @@  discard block
 block discarded – undo
582 582
     /**
583 583
      * remove multi empty lines and trim trailing whitespace.
584 584
      *
585
-     * @param $doc
585
+     * @param string $doc
586 586
      * @return string
587 587
      */
588 588
     protected function cleanDocComment($doc)
@@ -601,7 +601,7 @@  discard block
 block discarded – undo
601 601
 
602 602
     /**
603 603
      * Replace property annotations in doc comment.
604
-     * @param $doc
604
+     * @param string $doc
605 605
      * @param $properties
606 606
      * @return string
607 607
      */
@@ -768,6 +768,9 @@  discard block
 block discarded – undo
768 768
         return [$className, $phpdoc];
769 769
     }
770 770
 
771
+    /**
772
+     * @param string $pattern
773
+     */
771 774
     protected function match($pattern, $subject, $split = false)
772 775
     {
773 776
         $sets = [];
@@ -792,6 +795,9 @@  discard block
 block discarded – undo
792 795
         return $sets;
793 796
     }
794 797
 
798
+    /**
799
+     * @param string $str
800
+     */
795 801
     protected function fixSentence($str)
796 802
     {
797 803
         // TODO fix word wrap
@@ -802,6 +808,9 @@  discard block
 block discarded – undo
802 808
         return strtoupper(substr($str, 0, 1)) . substr($str, 1) . ($str[\strlen($str) - 1] != '.' ? '.' : '');
803 809
     }
804 810
 
811
+    /**
812
+     * @param string $param
813
+     */
805 814
     protected function getPropParam($prop, $param)
806 815
     {
807 816
         return isset($prop['property']) ? $prop['property'][$param] : (isset($prop['get']) ? $prop['get'][$param] : $prop['set'][$param]);
Please login to merge, or discard this patch.
framework/BaseYii.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 Psr\Log\LogLevel;
12 12
 use yii\base\InvalidArgumentException;
13 13
 use yii\base\InvalidConfigException;
14
-use yii\base\UnknownClassException;
15 14
 use yii\di\Container;
16 15
 use yii\di\Instance;
17 16
 use yii\helpers\VarDumper;
Please login to merge, or discard this patch.
framework/db/Schema.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use yii\caching\Cache;
16 16
 use yii\caching\CacheInterface;
17 17
 use yii\caching\TagDependency;
18
-use yii\helpers\StringHelper;
19 18
 
20 19
 /**
21 20
  * Schema is the base class for concrete DBMS-specific schema classes.
Please login to merge, or discard this patch.