diff --git a/tests/TestCase.php b/tests/TestCase.php index 4474fc77..ff5af0df 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -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(); }