@@ -125,7 +125,7 @@  | 
                                                    ||
| 125 | 125 | *  | 
                                                        
| 126 | 126 | * @param int $columnIndex zero-based column index  | 
                                                        
| 127 | 127 | *  | 
                                                        
| 128 | - * @return mixed the column of the current row, false if no more rows available  | 
                                                        |
| 128 | + * @return string the column of the current row, false if no more rows available  | 
                                                        |
| 129 | 129 | */  | 
                                                        
| 130 | 130 | public function readColumn($columnIndex)  | 
                                                        
| 131 | 131 |      { | 
                                                        
@@ -48,7 +48,6 @@  | 
                                                    ||
| 48 | 48 | *  | 
                                                        
| 49 | 49 | * @param string $expression the DB expression  | 
                                                        
| 50 | 50 | * @param array $params parameters  | 
                                                        
| 51 | - * @param array $config name-value pairs that will be used to initialize the object properties  | 
                                                        |
| 52 | 51 | */  | 
                                                        
| 53 | 52 | public function __construct($expression, $params = [])  | 
                                                        
| 54 | 53 |      { | 
                                                        
@@ -109,7 +109,7 @@ discard block  | 
                                                    ||
| 109 | 109 | * This method contains the logic to be executed when applying this migration.  | 
                                                        
| 110 | 110 | * Child classes may override this method to provide actual migration logic.  | 
                                                        
| 111 | 111 | *  | 
                                                        
| 112 | - * @return bool return a false value to indicate the migration fails  | 
                                                        |
| 112 | + * @return false|null return a false value to indicate the migration fails  | 
                                                        |
| 113 | 113 | * and should not proceed further. All other return values mean the migration succeeds.  | 
                                                        
| 114 | 114 | */  | 
                                                        
| 115 | 115 | public function up()  | 
                                                        
@@ -136,7 +136,7 @@ discard block  | 
                                                    ||
| 136 | 136 | * The default implementation throws an exception indicating the migration cannot be removed.  | 
                                                        
| 137 | 137 | * Child classes may override this method if the corresponding migrations can be removed.  | 
                                                        
| 138 | 138 | *  | 
                                                        
| 139 | - * @return bool return a false value to indicate the migration fails  | 
                                                        |
| 139 | + * @return false|null return a false value to indicate the migration fails  | 
                                                        |
| 140 | 140 | * and should not proceed further. All other return values mean the migration succeeds.  | 
                                                        
| 141 | 141 | */  | 
                                                        
| 142 | 142 | public function down()  | 
                                                        
@@ -177,7 +177,7 @@ discard block  | 
                                                    ||
| 177 | 177 | * Note: Not all DBMS support transactions. And some DB queries cannot be put into a transaction. For some examples,  | 
                                                        
| 178 | 178 | * please refer to [implicit commit](http://dev.mysql.com/doc/refman/5.7/en/implicit-commit.html).  | 
                                                        
| 179 | 179 | *  | 
                                                        
| 180 | - * @return bool return a false value to indicate the migration fails  | 
                                                        |
| 180 | + * @return boolean|null return a false value to indicate the migration fails  | 
                                                        |
| 181 | 181 | * and should not proceed further. All other return values mean the migration succeeds.  | 
                                                        
| 182 | 182 | */  | 
                                                        
| 183 | 183 | public function safeUp()  | 
                                                        
@@ -194,7 +194,7 @@ discard block  | 
                                                    ||
| 194 | 194 | * Note: Not all DBMS support transactions. And some DB queries cannot be put into a transaction. For some examples,  | 
                                                        
| 195 | 195 | * please refer to [implicit commit](http://dev.mysql.com/doc/refman/5.7/en/implicit-commit.html).  | 
                                                        
| 196 | 196 | *  | 
                                                        
| 197 | - * @return bool return a false value to indicate the migration fails  | 
                                                        |
| 197 | + * @return boolean|null return a false value to indicate the migration fails  | 
                                                        |
| 198 | 198 | * and should not proceed further. All other return values mean the migration succeeds.  | 
                                                        
| 199 | 199 | */  | 
                                                        
| 200 | 200 | public function safeDown()  | 
                                                        
@@ -96,7 +96,6 @@ discard block  | 
                                                    ||
| 96 | 96 | * Constructor.  | 
                                                        
| 97 | 97 | *  | 
                                                        
| 98 | 98 | * @param Connection $connection the database connection.  | 
                                                        
| 99 | - * @param array $config name-value pairs that will be used to initialize the object properties  | 
                                                        |
| 100 | 99 | */  | 
                                                        
| 101 | 100 | public function __construct($connection)  | 
                                                        
| 102 | 101 |      { | 
                                                        
@@ -1517,7 +1516,7 @@ discard block  | 
                                                    ||
| 1517 | 1516 | /**  | 
                                                        
| 1518 | 1517 | * Checks to see if the given limit is effective.  | 
                                                        
| 1519 | 1518 | *  | 
                                                        
| 1520 | - * @param mixed $limit the given limit  | 
                                                        |
| 1519 | + * @param integer $limit the given limit  | 
                                                        |
| 1521 | 1520 | *  | 
                                                        
| 1522 | 1521 | * @return bool whether the limit is effective  | 
                                                        
| 1523 | 1522 | */  | 
                                                        
@@ -1529,7 +1528,7 @@ discard block  | 
                                                    ||
| 1529 | 1528 | /**  | 
                                                        
| 1530 | 1529 | * Checks to see if the given offset is effective.  | 
                                                        
| 1531 | 1530 | *  | 
                                                        
| 1532 | - * @param mixed $offset the given offset  | 
                                                        |
| 1531 | + * @param integer $offset the given offset  | 
                                                        |
| 1533 | 1532 | *  | 
                                                        
| 1534 | 1533 | * @return bool whether the offset is effective  | 
                                                        
| 1535 | 1534 | */  | 
                                                        
@@ -132,7 +132,6 @@  | 
                                                    ||
| 132 | 132 | * @param string $type type of the column. See [[$type]].  | 
                                                        
| 133 | 133 | * @param int|string|array $length length or precision of the column. See [[$length]].  | 
                                                        
| 134 | 134 | * @param \Yiisoft\Db\Connection $db the current database connection. See [[$db]].  | 
                                                        
| 135 | - * @param array $config name-value pairs that will be used to initialize the object properties  | 
                                                        |
| 136 | 135 | */  | 
                                                        
| 137 | 136 | public function __construct($type, $length = null, $db = null)  | 
                                                        
| 138 | 137 |      { |