@@ -90,7 +90,7 @@ |
||
| 90 | 90 | * |
| 91 | 91 | * @throws \Exception |
| 92 | 92 | * |
| 93 | - * @return mixed |
|
| 93 | + * @return string |
|
| 94 | 94 | */ |
| 95 | 95 | protected function getMigrationPath(InputInterface $input, OutputInterface $output) |
| 96 | 96 | { |
@@ -76,7 +76,7 @@ |
||
| 76 | 76 | * |
| 77 | 77 | * @throws \Exception |
| 78 | 78 | * |
| 79 | - * @return mixed |
|
| 79 | + * @return string |
|
| 80 | 80 | */ |
| 81 | 81 | protected function getSeedPath(InputInterface $input, OutputInterface $output) |
| 82 | 82 | { |
@@ -1283,7 +1283,7 @@ |
||
| 1283 | 1283 | /** |
| 1284 | 1284 | * Returns MySQL column types (inherited and MySQL specified). |
| 1285 | 1285 | * |
| 1286 | - * @return array |
|
| 1286 | + * @return string[] |
|
| 1287 | 1287 | */ |
| 1288 | 1288 | public function getColumnTypes() |
| 1289 | 1289 | { |
@@ -640,6 +640,8 @@ discard block |
||
| 640 | 640 | |
| 641 | 641 | /** |
| 642 | 642 | * @inheritDoc |
| 643 | + * @param string $tableName |
|
| 644 | + * @param string|null $columnName |
|
| 643 | 645 | */ |
| 644 | 646 | protected function getDropDefaultConstraint($tableName, $columnName) |
| 645 | 647 | { |
@@ -652,6 +654,9 @@ discard block |
||
| 652 | 654 | return $this->getDropForeignKeyInstructions($tableName, $defaultConstraint); |
| 653 | 655 | } |
| 654 | 656 | |
| 657 | + /** |
|
| 658 | + * @return string |
|
| 659 | + */ |
|
| 655 | 660 | protected function getDefaultConstraint($tableName, $columnName) |
| 656 | 661 | { |
| 657 | 662 | $sql = "SELECT |
@@ -1228,6 +1233,7 @@ discard block |
||
| 1228 | 1233 | * Gets the SqlServer Index Definition for an Index object. |
| 1229 | 1234 | * |
| 1230 | 1235 | * @param \Phinx\Db\Table\Index $index Index |
| 1236 | + * @param string $tableName |
|
| 1231 | 1237 | * |
| 1232 | 1238 | * @return string |
| 1233 | 1239 | */ |
@@ -1254,6 +1260,7 @@ discard block |
||
| 1254 | 1260 | * Gets the SqlServer Foreign Key Definition for an ForeignKey object. |
| 1255 | 1261 | * |
| 1256 | 1262 | * @param \Phinx\Db\Table\ForeignKey $foreignKey |
| 1263 | + * @param string $tableName |
|
| 1257 | 1264 | * |
| 1258 | 1265 | * @return string |
| 1259 | 1266 | */ |
@@ -284,8 +284,8 @@ |
||
| 284 | 284 | * |
| 285 | 285 | * Valid options can be: limit, default, null, precision or scale. |
| 286 | 286 | * |
| 287 | - * @param string|\Phinx\Db\Table\Column $columnName Column Name |
|
| 288 | - * @param string|\Phinx\Util\Literal|null $type Column Type |
|
| 287 | + * @param string $columnName Column Name |
|
| 288 | + * @param string $type Column Type |
|
| 289 | 289 | * @param array $options Column Options |
| 290 | 290 | * |
| 291 | 291 | * @throws \InvalidArgumentException |
@@ -209,7 +209,7 @@ |
||
| 209 | 209 | * @param string $key |
| 210 | 210 | * @param string $value |
| 211 | 211 | * |
| 212 | - * @return object |
|
| 212 | + * @return TextWrapper |
|
| 213 | 213 | */ |
| 214 | 214 | public function setOption($key, $value) |
| 215 | 215 | { |