Skip to content

Commit

Permalink
fix err
Browse files Browse the repository at this point in the history
  • Loading branch information
taka-oyama committed Nov 7, 2024
1 parent f446b8b commit 535d88b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ protected function getTestDatabaseDDLs(): array
{
$ddlFile = __DIR__ . '/test.ddl';
return collect(explode(';', file_get_contents($ddlFile) ?: ''))
->map(trim(...))
->map(static fn($ddl) => trim($ddl))
->filter()
->all();
}
Expand Down

0 comments on commit 535d88b

Please sign in to comment.