@@ -1118,7 +1118,7 @@  | 
                                                    ||
| 1118 | 1118 | |
| 1119 | 1119 | /**  | 
                                                        
| 1120 | 1120 | * Returns MySQL column types (inherited and MySQL specified).  | 
                                                        
| 1121 | - * @return array  | 
                                                        |
| 1121 | + * @return string[]  | 
                                                        |
| 1122 | 1122 | */  | 
                                                        
| 1123 | 1123 | public function getColumnTypes()  | 
                                                        
| 1124 | 1124 |      { | 
                                                        
@@ -213,7 +213,7 @@  | 
                                                    ||
| 213 | 213 | *  | 
                                                        
| 214 | 214 | * @param string $key  | 
                                                        
| 215 | 215 | * @param string $value  | 
                                                        
| 216 | - * @return object  | 
                                                        |
| 216 | + * @return TextWrapper  | 
                                                        |
| 217 | 217 | */  | 
                                                        
| 218 | 218 | public function setOption($key, $value)  | 
                                                        
| 219 | 219 |      { | 
                                                        
@@ -99,7 +99,7 @@  | 
                                                    ||
| 99 | 99 | *  | 
                                                        
| 100 | 100 | * @param \Symfony\Component\Console\Input\InputInterface $input  | 
                                                        
| 101 | 101 | * @param \Symfony\Component\Console\Output\OutputInterface $output  | 
                                                        
| 102 | - * @return mixed  | 
                                                        |
| 102 | + * @return string  | 
                                                        |
| 103 | 103 | * @throws \Exception  | 
                                                        
| 104 | 104 | */  | 
                                                        
| 105 | 105 | protected function getMigrationPath(InputInterface $input, OutputInterface $output)  | 
                                                        
@@ -334,6 +334,9 @@ discard block  | 
                                                    ||
| 334 | 334 | $this->execute($sql);  | 
                                                        
| 335 | 335 | }  | 
                                                        
| 336 | 336 | |
| 337 | + /**  | 
                                                        |
| 338 | + * @return string  | 
                                                        |
| 339 | + */  | 
                                                        |
| 337 | 340 | public function getColumnComment($tableName, $columnName)  | 
                                                        
| 338 | 341 |      { | 
                                                        
| 339 | 342 |          $sql = sprintf("SELECT cast(extended_properties.[value] as nvarchar(4000)) comment | 
                                                        
@@ -566,6 +569,8 @@ discard block  | 
                                                    ||
| 566 | 569 | |
| 567 | 570 | /**  | 
                                                        
| 568 | 571 |       * {@inheritdoc} | 
                                                        
| 572 | + * @param string $tableName  | 
                                                        |
| 573 | + * @param string|null $columnName  | 
                                                        |
| 569 | 574 | */  | 
                                                        
| 570 | 575 | protected function getDropDefaultConstraint($tableName, $columnName)  | 
                                                        
| 571 | 576 |      { | 
                                                        
@@ -578,6 +583,9 @@ discard block  | 
                                                    ||
| 578 | 583 | return $this->getDropForeignKeyInstructions($tableName, $defaultConstraint);  | 
                                                        
| 579 | 584 | }  | 
                                                        
| 580 | 585 | |
| 586 | + /**  | 
                                                        |
| 587 | + * @return string  | 
                                                        |
| 588 | + */  | 
                                                        |
| 581 | 589 | protected function getDefaultConstraint($tableName, $columnName)  | 
                                                        
| 582 | 590 |      { | 
                                                        
| 583 | 591 | $sql = "SELECT  | 
                                                        
@@ -1073,6 +1081,7 @@ discard block  | 
                                                    ||
| 1073 | 1081 | * Gets the SqlServer Index Definition for an Index object.  | 
                                                        
| 1074 | 1082 | *  | 
                                                        
| 1075 | 1083 | * @param \Phinx\Db\Table\Index $index Index  | 
                                                        
| 1084 | + * @param string $tableName  | 
                                                        |
| 1076 | 1085 | * @return string  | 
                                                        
| 1077 | 1086 | */  | 
                                                        
| 1078 | 1087 | protected function getIndexSqlDefinition(Index $index, $tableName)  | 
                                                        
@@ -1098,6 +1107,7 @@ discard block  | 
                                                    ||
| 1098 | 1107 | * Gets the SqlServer Foreign Key Definition for an ForeignKey object.  | 
                                                        
| 1099 | 1108 | *  | 
                                                        
| 1100 | 1109 | * @param \Phinx\Db\Table\ForeignKey $foreignKey  | 
                                                        
| 1110 | + * @param string $tableName  | 
                                                        |
| 1101 | 1111 | * @return string  | 
                                                        
| 1102 | 1112 | */  | 
                                                        
| 1103 | 1113 | protected function getForeignKeySqlDefinition(ForeignKey $foreignKey, $tableName)  | 
                                                        
@@ -236,7 +236,7 @@  | 
                                                    ||
| 236 | 236 | *  | 
                                                        
| 237 | 237 | * Valid options can be: limit, default, null, precision or scale.  | 
                                                        
| 238 | 238 | *  | 
                                                        
| 239 | - * @param string|\Phinx\Db\Table\Column $columnName Column Name  | 
                                                        |
| 239 | + * @param string $columnName Column Name  | 
                                                        |
| 240 | 240 | * @param string|\Phinx\Util\Literal $type Column Type  | 
                                                        
| 241 | 241 | * @param array $options Column Options  | 
                                                        
| 242 | 242 | * @throws \RuntimeException  | 
                                                        
@@ -34,7 +34,6 @@  | 
                                                    ||
| 34 | 34 | use Phinx\Db\Action\ChangeColumn;  | 
                                                        
| 35 | 35 | use Phinx\Db\Action\ChangeTable;  | 
                                                        
| 36 | 36 | use Phinx\Db\Action\CreateTable;  | 
                                                        
| 37 | -use Phinx\Db\Action\DropColumn;  | 
                                                        |
| 38 | 37 | use Phinx\Db\Action\DropForeignKey;  | 
                                                        
| 39 | 38 | use Phinx\Db\Action\DropIndex;  | 
                                                        
| 40 | 39 | use Phinx\Db\Action\DropTable;  | 
                                                        
@@ -45,7 +45,7 @@  | 
                                                    ||
| 45 | 45 | * Constructor  | 
                                                        
| 46 | 46 | *  | 
                                                        
| 47 | 47 | * @param array $alterParts SQL snipets to be added to a single ALTER instruction per table  | 
                                                        
| 48 | - * @param array $postSteps SQL commands to be executed after the ALTER instruction  | 
                                                        |
| 48 | + * @param string[] $postSteps SQL commands to be executed after the ALTER instruction  | 
                                                        |
| 49 | 49 | */  | 
                                                        
| 50 | 50 | public function __construct(array $alterParts = [], array $postSteps = [])  | 
                                                        
| 51 | 51 |      { |