Skip to content

Commit 7f24fd9

Browse files
committed
CS: Apply ternary_to_null_coalescing fixer
1 parent 2befc49 commit 7f24fd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dotenv.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ private function lexValue(): string
257257
throw $this->createFormatException('Whitespace are not supported before the value');
258258
}
259259

260-
$loadedVars = array_flip(explode(',', isset($_SERVER['SYMFONY_DOTENV_VARS']) ? $_SERVER['SYMFONY_DOTENV_VARS'] : (isset($_ENV['SYMFONY_DOTENV_VARS']) ? $_ENV['SYMFONY_DOTENV_VARS'] : '')));
260+
$loadedVars = array_flip(explode(',', $_SERVER['SYMFONY_DOTENV_VARS'] ?? ($_ENV['SYMFONY_DOTENV_VARS'] ?? '')));
261261
unset($loadedVars['']);
262262
$v = '';
263263

0 commit comments

Comments
 (0)