Skip to content

Commit a0054cd

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

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
@@ -43,7 +43,7 @@ public static function create(string $cacheDir): QueryReflector
4343
$ssl = (string) (getenv('DBA_SSL') ?: $_ENV['DBA_SSL'] ?? '');
4444
$mode = getenv('DBA_MODE') ?: $_ENV['DBA_MODE'];
4545
$reflector = getenv('DBA_REFLECTOR') ?: $_ENV['DBA_REFLECTOR'];
46-
$platform = $_ENV['DBA_PLATFORM'] ?: $_ENV['DBA_PLATFORM'];
46+
$platform = getenv('DBA_PLATFORM') ?: $_ENV['DBA_PLATFORM'];
4747
}
4848

4949
// make env vars available to tests, in case non are defined yet

0 commit comments

Comments
 (0)