8000 Update dotenv.rst · symfony/symfony-docs@6325759 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6325759

Browse files
authored
Update dotenv.rst
1 parent c8ad296 commit 6325759

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/dotenv.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ Access the value with ``getenv()`` in your code::
5858
$dbUser = getenv('DB_USER');
5959
// you can also use ``$_ENV`` or ``$_SERVER``
6060

61-
.. versionadded:: 4.1
62-
Passing ``true`` in ``Dotenv(true)`` constructor allow you to overwrite existing environment variables.
61+
.. versionadded:: 4.2
62+
Passing ``true`` in ``Dotenv()`` constructor allow you to overwrite existing environment variables.
6363

6464
You should never store a ``.env`` file in your code repository as it might
6565
contain sensitive information; create a ``.env.dist`` file with sensible

0 commit comments

Comments
 (0)
0