File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class Table
2828 /**
2929 * All of the fields this table represents.
3030 *
31- * @var array<string, array<string, bool|int|string|null>>
31+ * @var array<string, array<string, bool|int|string|null>> [name => attributes]
3232 */
3333 protected $ fields = [];
3434
@@ -156,7 +156,7 @@ public function run(): bool
156156 /**
157157 * Drops columns from the table.
158158 *
159- * @param array |string $columns
159+ * @param list<string> |string $columns Column names to drop.
160160 *
161161 * @return Table
162162 */
@@ -180,6 +180,8 @@ public function dropColumn($columns)
180180 * Modifies a field, including changing data type,
181181 * renaming, etc.
182182 *
183+ * @param array<string, array<string, bool|int|string|null>> $fields [name => attributes]
184+ *
183185 * @return Table
184186 */
185187 public function modifyColumn (array $ fields )
You can’t perform that action at this time.
0 commit comments