Skip to content

Commit 720a794

Browse files
committed
Fix namespace issue with Dotenv
1 parent b7b29ec commit 720a794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Config.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ public static function initEnv($directory = null)
242242
public static function env($name, $default = null, $required = false)
243243
{
244244
if ($required) {
245-
Dotenv::required($name);
245+
\Dotenv::required($name);
246246
}
247247
return isset($_ENV[$name]) ? $_ENV[$name] : $default;
248248
}

0 commit comments

Comments
 (0)