Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fa6f792

Browse files
Removed unused var
1 parent df89dde commit fa6f792

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

‎src/DotEnv.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ public function load() : void
5959
throw new \RuntimeException(sprintf('%s file is not readable', $this->path));
6060
}
6161

62-
$loaded = [];
63-
6462
$lines = file($this->path, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
6563
foreach ($lines as $line) {
6664

@@ -76,7 +74,6 @@ public function load() : void
7674
putenv(sprintf('%s=%s', $name, $value));
7775
$_ENV[$name] = $value;
7876
$_SERVER[$name] = $value;
79-
$loaded[$name] = $value;
8077
}
8178
}
8279
}
@@ -96,4 +93,4 @@ private function processValue(string $value) {
9693

9794
return $trimmedValue;
9895
}
99-
}
96+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /