Skip to content

Commit 3ac2128

Browse files
committed
fix: update migration rollback parameters for consistency and improve PHPStan type annotation for params.
1 parent dce2ec7 commit 3ac2128

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/TestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ protected function createDatabase(): void
175175
$command->dropTable('migration')->execute();
176176
}
177177

178-
$this->runMigrate('down', ['all' => true]);
178+
$this->runMigrate('down', ['all']);
179179
$this->runMigrate('up');
180180
}
181181

@@ -376,7 +376,7 @@ protected function replaceQuotes(string $sql): string
376376
}
377377

378378
/**
379-
* @phpstan-param array<string, mixed> $params
379+
* @phpstan-param array<array-key, mixed> $params
380380
*/
381381
protected function runMigrate(string $action, array $params = []): mixed
382382
{

0 commit comments

Comments
 (0)