We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d930fb commit 1dd2e96Copy full SHA for 1dd2e96
1 file changed
system/Database/SQLite3/Table.php
@@ -177,16 +177,15 @@ public function dropColumn($columns)
177
}
178
179
/**
180
- * Modifies a field, including changing data type,
181
- * renaming, etc.
+ * Modifies a field, including changing data type, renaming, etc.
182
*
183
- * @param array<string, array<string, bool|int|string|null>> $fields [name => attributes]
+ * @param list<array<string, bool|int|string|null>> $fieldsToModify
184
185
* @return Table
186
*/
187
- public function modifyColumn(array $fields)
+ public function modifyColumn(array $fieldsToModify)
188
{
189
- foreach ($fields as $field) {
+ foreach ($fieldsToModify as $field) {
190
$oldName = $field['name'];
191
unset($field['name']);
192
0 commit comments