File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class Forge
3232 /**
3333 * List of fields.
3434 *
35- * @var array
35+ * @var array<string, array|string> [name => attributes]
3636 */
3737 protected $ fields = [];
3838
@@ -351,7 +351,7 @@ public function addUniqueKey($key, string $keyName = '')
351351 /**
352352 * Add Field
353353 *
354- * @param array|string $field
354+ * @param array<string, array|string> |string $field
355355 *
356356 * @return Forge
357357 */
@@ -716,7 +716,7 @@ public function renameTable(string $tableName, string $newTableName)
716716 }
717717
718718 /**
719- * @param array|string $field
719+ * @param array<string, array|string> |string $field
720720 *
721721 * @throws DatabaseException
722722 */
@@ -772,7 +772,7 @@ public function dropColumn(string $table, $columnName)
772772 }
773773
774774 /**
775- * @param array|string $field
775+ * @param array<string, array|string> |string $field
776776 *
777777 * @throws DatabaseException
778778 */
You can’t perform that action at this time.
0 commit comments