Skip to content

Commit 1b1b0bd

Browse files
committed
Update ReflectorFactory.php
1 parent ed1801b commit 1b1b0bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ReflectorFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public static function create(string $cacheDir): QueryReflector
3434
$ssl = false;
3535
$mode = getenv('DBA_MODE') ?: self::MODE_RECORDING;
3636
$reflector = getenv('DBA_REFLECTOR') ?: 'mysqli';
37-
$platform = $_ENV['DBA_PLATFORM'] ?: 'mysql';
37+
$platform = getenv('DBA_PLATFORM') ?: 'mysql';
3838
} else {
3939
$host = getenv('DBA_HOST') ?: $_ENV['DBA_HOST'];
4040
$user = getenv('DBA_USER') ?: $_ENV['DBA_USER'];

0 commit comments

Comments
 (0)