Skip to content

Commit

Permalink
Merge branch '7.0' into 7.1
Browse files Browse the repository at this point in the history
* 7.0:
  fix merge
  • Loading branch information
xabbuh committed Apr 30, 2024
2 parents 95e8168 + 89b8498 commit c168c2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/Dotenv/Command/DebugCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ private function getVariables(array $envFiles, ?string $nameFilter): array
continue;
}

$realValue = $_SERVER[$var];
$realValue = $_SERVER[$var] ?? '';
$varDetails = [$var, '<fg=green>'.OutputFormatter::escape($realValue).'</>'];
$varSeen = !isset($dotenvVars[$var]);

Expand Down

0 comments on commit c168c2c

Please sign in to comment.