Skip to content

Commit 2b96758

Browse files
Match 4.0.0
1 parent 0ba871d commit 2b96758

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Dotenv.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,9 @@ public function safeLoad()
126126
try {
127127
return $this->load();
128128
} catch (InvalidPathException $e) {
129-
//
129+
// suppressing exception
130+
return [];
130131
}
131-
132-
return [];
133132
}
134133

135134
/**

0 commit comments

Comments
 (0)