Skip to content

Commit eec6cef

Browse files
vjikgithub-actions[bot]
authored andcommitted
Apply Rector changes (CI)
1 parent a6a84c9 commit eec6cef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Environment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ private static function setInteger(string $key, int $default): void
8282
private static function setString(string $key, string $default): void
8383
{
8484
$value = self::getRawValue($key);
85-
self::$values[$key] = $value === null ? $default : $value;
85+
self::$values[$key] = $value ?? $default;
8686
}
8787

8888
private static function getRawValue(string $key): ?string

0 commit comments

Comments
 (0)