@@ -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 | { |
@@ -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 | { |
@@ -65,7 +65,7 @@ |
||
65 | 65 | * |
66 | 66 | * @param \Phinx\Db\Plan\AlterTable $alter The collection of actions to inspect |
67 | 67 | * |
68 | - * @return \Phinx\Db\Plan\AlterTable[] A list of AlterTable that can be executed without |
|
68 | + * @return AlterTable[] A list of AlterTable that can be executed without |
|
69 | 69 | * this type of conflict |
70 | 70 | */ |
71 | 71 | public function __invoke(AlterTable $alter) |
@@ -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 |
@@ -127,7 +127,7 @@ |
||
127 | 127 | /** |
128 | 128 | * {@inheritDoc} |
129 | 129 | * |
130 | - * @return void |
|
130 | + * @return Column |
|
131 | 131 | */ |
132 | 132 | public function getColumnForType($columnName, $type, array $options) |
133 | 133 | { |
@@ -421,7 +421,7 @@ discard block |
||
421 | 421 | * @param string $tableName Table name |
422 | 422 | * @param string $columnName Column name |
423 | 423 | * |
424 | - * @return bool|string |
|
424 | + * @return string|false |
|
425 | 425 | */ |
426 | 426 | public function getColumnComment($tableName, $columnName) |
427 | 427 | { |
@@ -669,6 +669,8 @@ discard block |
||
669 | 669 | |
670 | 670 | /** |
671 | 671 | * @inheritDoc |
672 | + * @param string $tableName |
|
673 | + * @param string|null $columnName |
|
672 | 674 | */ |
673 | 675 | protected function getDropDefaultConstraint($tableName, $columnName) |
674 | 676 | { |
@@ -212,7 +212,7 @@ |
||
212 | 212 | * @param string $key Key |
213 | 213 | * @param string $value Value |
214 | 214 | * |
215 | - * @return object |
|
215 | + * @return TextWrapper |
|
216 | 216 | */ |
217 | 217 | public function setOption($key, $value) |
218 | 218 | { |