Skip to content

Commit 53c1be3

Browse files
Call updateGlobalEnv method in load method
1 parent 7c9ca79 commit 53c1be3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Dotenv.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ public function load(): Dotenv
195195

196196
$this->isLoaded = true;
197197

198+
$this->updateGlobalEnv();
199+
198200
return $this;
199201
}
200202

0 commit comments

Comments
 (0)