We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fcb8ac commit 847f9e4Copy full SHA for 847f9e4
src/ConnectParams.php
@@ -42,7 +42,7 @@ public static function fromEnv(string $alias)
42
{
43
$alias = strtoupper($alias);
44
45
- $driverKey = "DATABASE_{$alias}_HOST";
+ $driverKey = "DATABASE_{$alias}_DRIVER";
46
$driverVal = static::getenv($driverKey);
47
if (empty($driverVal)) {
48
throw new LogicException("Missing environment variable {$driverKey}.");
0 commit comments