We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df89dde commit fa6f792Copy full SHA for fa6f792
src/DotEnv.php
@@ -59,8 +59,6 @@ public function load() : void
59
throw new \RuntimeException(sprintf('%s file is not readable', $this->path));
60
}
61
62
- $loaded = [];
63
-
64
$lines = file($this->path, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
65
foreach ($lines as $line) {
66
@@ -76,7 +74,6 @@ public function load() : void
76
74
putenv(sprintf('%s=%s', $name, $value));
77
75
$_ENV[$name] = $value;
78
$_SERVER[$name] = $value;
79
- $loaded[$name] = $value;
80
81
82
@@ -96,4 +93,4 @@ private function processValue(string $value) {
96
93
97
94
return $trimmedValue;
98
95
99
-}
+}
0 commit comments