@@ -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) |
@@ -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 |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | * Constructor |
| 46 | 46 | * |
| 47 | 47 | * @param array $alterParts SQL snippets 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 | { |
@@ -203,7 +203,7 @@ |
||
| 203 | 203 | /** |
| 204 | 204 | * Gets the environment's options. |
| 205 | 205 | * |
| 206 | - * @return array |
|
| 206 | + * @return AdapterInterface |
|
| 207 | 207 | */ |
| 208 | 208 | public function getOptions() |
| 209 | 209 | { |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | * |
| 85 | 85 | * @param \Symfony\Component\Console\Input\InputInterface $input |
| 86 | 86 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
| 87 | - * @return mixed |
|
| 87 | + * @return string |
|
| 88 | 88 | * @throws \Exception |
| 89 | 89 | */ |
| 90 | 90 | protected function getSeedPath(InputInterface $input, OutputInterface $output) |
@@ -496,6 +496,7 @@ discard block |
||
| 496 | 496 | |
| 497 | 497 | /** |
| 498 | 498 | * {@inheritdoc} |
| 499 | + * @param string|null $newColumnName |
|
| 499 | 500 | */ |
| 500 | 501 | protected function getRenameColumnInstructions($tableName, $columnName, $newColumnName) |
| 501 | 502 | { |
@@ -1190,6 +1191,7 @@ discard block |
||
| 1190 | 1191 | * Gets the SqlServer Index Definition for an Index object. |
| 1191 | 1192 | * |
| 1192 | 1193 | * @param \Phinx\Db\Table\Index $index Index |
| 1194 | + * @param string $tableName |
|
| 1193 | 1195 | * @return string |
| 1194 | 1196 | */ |
| 1195 | 1197 | protected function getIndexSqlDefinition(Index $index, $tableName) |
@@ -1215,6 +1217,7 @@ discard block |
||
| 1215 | 1217 | * Gets the SqlServer Foreign Key Definition for an ForeignKey object. |
| 1216 | 1218 | * |
| 1217 | 1219 | * @param \Phinx\Db\Table\ForeignKey $foreignKey |
| 1220 | + * @param string $tableName |
|
| 1218 | 1221 | * @return string |
| 1219 | 1222 | */ |
| 1220 | 1223 | protected function getForeignKeySqlDefinition(ForeignKey $foreignKey, $tableName) |