Skip to content

Commit ff517cc

Browse files
committed
QA: Remove redundant variable
1 parent cbd0e9a commit ff517cc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Platforms/AbstractPlatform.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -816,8 +816,7 @@ private function buildCreateTableSQL(Table $table, bool $createForeignKeys): arr
816816
}
817817
}
818818

819-
$columnSql = [];
820-
$columns = [];
819+
$columns = [];
821820

822821
foreach ($table->getColumns() as $column) {
823822
$columnData = $this->columnToArray($column);
@@ -847,7 +846,7 @@ private function buildCreateTableSQL(Table $table, bool $createForeignKeys): arr
847846
}
848847
}
849848

850-
return array_merge($sql, $columnSql);
849+
return $sql;
851850
}
852851

853852
/**

0 commit comments

Comments
 (0)