From 535d88bc3760d9ca225e67e3a0024e5bbdb5fd5f Mon Sep 17 00:00:00 2001 From: Takayasu Oyama Date: Thu, 7 Nov 2024 15:41:45 +0900 Subject: [PATCH] fix err --- tests/TestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }