Skip to content

Commit

Permalink
#151 - Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Apr 14, 2024
1 parent 5e8d0e1 commit 7401692
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/Migration/Action/Generate.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class Generate
protected array $quoteWrappedColumns = [];

public function __construct(
private string $adapter,
private string $adapter,
protected array $columns = [],
protected array $indexes = [],
protected array $references = [],
Expand Down Expand Up @@ -303,14 +303,13 @@ public function addAfterCreateTable(string $table, $exportData = null): self
}

public function createDumpFiles(
string $table,
string $migrationPath,
string $table,
string $migrationPath,
AbstractAdapter $connection,
ItemInterface $version,
$exportData = null,
bool $shouldExportDataFromTable = false
): self
{
ItemInterface $version,
$exportData = null,
bool $shouldExportDataFromTable = false
): self {
$numericColumns = $this->getNumericColumns();
if ($exportData === 'always' || $exportData === 'oncreate' || $shouldExportDataFromTable) {
$fileHandler = fopen($migrationPath . $version->getVersion() . '/' . $table . '.dat', 'w');
Expand Down

0 comments on commit 7401692

Please sign in to comment.