Skip to content

Commit

Permalink
correct array shapes for drop and create primary key
Browse files Browse the repository at this point in the history
  • Loading branch information
Hedzer committed Oct 24, 2024
1 parent 53771e1 commit 1f8f84f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Doctrine/Migration/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ public function primaryKey($direction, $tableName, $columnNames)
* * Change autoincrement = true field to be autoincrement
*
* @param string $tableName Name of the table
* @param array<string, array<object{type?: string, length?: string, option?: array<mixed>}>> $columnNames Array of column names and column definitions
* @param array<string, array{type?: string, length?: string, option?: array<mixed>}> $columnNames Array of column names and column definitions
*/
public function createPrimaryKey($tableName, $columnNames)
{
Expand Down Expand Up @@ -288,7 +288,7 @@ public function createPrimaryKey($tableName, $columnNames)
* * Removing columns (removeColumn())
*
* @param string $tableName Name of the table
* @param array<string, array<object{type?: string, length?: string, option?: array<mixed>}>> $columnNames Array of column names and column definitions
* @param array<string, array{type?: string, length?: string, option?: array<mixed>}> $columnNames Array of column names and column definitions
*/
public function dropPrimaryKey($tableName, $columnNames)
{
Expand Down

0 comments on commit 1f8f84f

Please sign in to comment.