From 89c8c6b8c60046f0918b2f40de613b97a0e9c440 Mon Sep 17 00:00:00 2001 From: Liam Hammett Date: Sun, 9 Mar 2025 15:49:26 +0000 Subject: [PATCH] Fix File get contents #27 --- src/EnvironmentSetCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EnvironmentSetCommand.php b/src/EnvironmentSetCommand.php index 4a04fca..2a27401 100644 --- a/src/EnvironmentSetCommand.php +++ b/src/EnvironmentSetCommand.php @@ -46,7 +46,7 @@ public function handle(): void ); // Use system env file path if the argument env file path is not provided. - $envFilePath = $envFilePath ?? App::environmentFilePath(); + $envFilePath = $envFilePath ?: App::environmentFilePath(); $this->info("The following environment file is used: '" . $envFilePath . "'"); } catch (InvalidArgumentException $e) { $this->error($e->getMessage());