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 1040b15 commit acadeb7Copy full SHA for acadeb7
src/Console/DuskCommand.php
@@ -282,20 +282,6 @@ protected function backupEnvironment()
282
*/
283
protected function refreshEnvironment()
284
{
285
- // BC fix to support Dotenv ^2.2...
286
- if (! method_exists(Dotenv::class, 'create')) {
287
- (new Dotenv(base_path()))->overload(); // @phpstan-ignore-line
288
-
289
- return;
290
- }
291
292
- // BC fix to support Dotenv ^3.0...
293
- if (! method_exists(Dotenv::class, 'createMutable')) {
294
- Dotenv::create(base_path())->overload();
295
296
297
298
299
Dotenv::createMutable(base_path())->load();
300
}
301
0 commit comments