Skip to content

Commit

Permalink
update file
Browse files Browse the repository at this point in the history
  • Loading branch information
juancristobalgd1 authored Mar 13, 2024
1 parent 13d69ae commit 11c30a1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Env.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ public static function load(string $file): void
foreach ($lines as $line) {
if (str_contains($line, '=') && !str_starts_with($line, '#')) {
[$name, $value] = explode('=', $line, 2);
$name = trim($name);
$value = trim($value);
self::$data[$name] = self::expandValue($value);
self::$data[trim($name)] = trim(self::expandValue($value));
}
}
}
Expand Down

0 comments on commit 11c30a1

Please sign in to comment.