Skip to content

Commit b559ea3

Browse files
committed
minor #19086 [Dotenv] Use named parameter (alexandre-daubois)
This PR was merged into the 6.3 branch. Discussion ---------- [Dotenv] Use named parameter <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- 011fd33 [DotEnv] Use named parameter
2 parents ccb0ed7 + 011fd33 commit b559ea3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ If you need to override an environment variable defined by the system, use the
897897
use Symfony\Component\Dotenv\Dotenv;
898898

899899
$dotenv = new Dotenv();
900-
$dotenv->loadEnv(__DIR__.'/.env', null, 'dev', ['test'], true);
900+
$dotenv->loadEnv(__DIR__.'/.env', overrideExistingVars: true);
901901

902902
// ...
903903

0 commit comments

Comments
 (0)