Skip to content

Commit 6a75ae2

Browse files
author
Wazabii
committed
Allow empty env
1 parent 3ab2ad3 commit 6a75ae2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Env.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function set(string $key, string $value): string
4646
public function get(string $key): string
4747
{
4848
$key = $this->formatKey($key);
49-
return $this->fileData[$key];
49+
return ($this->fileData[$key] ?? "");
5050
}
5151

5252
public function drop(string $key): void

0 commit comments

Comments
 (0)