From 97643dfc53efa39def64b48f6214d394212462bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20Ioni=C8=9B=C4=83?= Date: Mon, 22 Jul 2024 10:24:02 +0100 Subject: [PATCH] fix: string interpolation deprecation notice (#789) --- app/Console/Commands/SetupCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/SetupCommand.php b/app/Console/Commands/SetupCommand.php index df6ea14a..526f3f3a 100644 --- a/app/Console/Commands/SetupCommand.php +++ b/app/Console/Commands/SetupCommand.php @@ -144,7 +144,7 @@ private function loadData(string $file): Collection try { $content = json_decode( - File::get(database_path("seeders/data/${edition}/${file}.json")), + File::get(database_path("seeders/data/{$edition}/{$file}.json")), true ); } catch (Throwable $th) {