Skip to content

Commit 32f61c2

Browse files
committed
Update load.environment for phpdotenv 4.x.
1 parent 07fbc39 commit 32f61c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

load.environment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
/**
1212
* Load any .env file. See /.env.example.
1313
*/
14-
$dotenv = new Dotenv(__DIR__);
14+
$dotenv = Dotenv::createImmutable(__DIR__);
1515
try {
1616
$dotenv->load();
1717
}

0 commit comments

Comments
 (0)