diff --git a/src/Phinx/Db/Table.php b/src/Phinx/Db/Table.php index 6647d8d32..5ece80309 100644 --- a/src/Phinx/Db/Table.php +++ b/src/Phinx/Db/Table.php @@ -295,7 +295,21 @@ public function reset(): void * * @param string|\Phinx\Db\Table\Column $columnName Column Name * @param string|\Phinx\Util\Literal|null $type Column Type - * @param array $options Column Options + * @param array{ + * limit?: int, + * length?: int, + * default?: mixed, + * null?: bool, + * after?: string, + * comment?: string, + * precision?: int, + * scale?: int, + * signed?: bool, + * values?: mixed, + * identity?: bool, + * update?: string, + * timezone?: bool, + * } $options Column Options * @throws \InvalidArgumentException * @return $this */ @@ -358,7 +372,21 @@ public function renameColumn(string $oldName, string $newName) * * @param string $columnName Column Name * @param string|\Phinx\Db\Table\Column|\Phinx\Util\Literal $newColumnType New Column Type - * @param array $options Options + * @param array{ + * limit?: int, + * length?: int, + * default?: mixed, + * null?: bool, + * after?: string, + * comment?: string, + * precision?: int, + * scale?: int, + * signed?: bool, + * values?: mixed, + * identity?: bool, + * update?: string, + * timezone?: bool, + * } $options Options * @return $this */ public function changeColumn(string $columnName, string|Column|Literal $newColumnType, array $options = [])