diff --git a/src/Foundation/Bootstrap/EnsuresDefaultConfiguration.php b/src/Foundation/Bootstrap/EnsuresDefaultConfiguration.php index ddcaff13..775f8895 100644 --- a/src/Foundation/Bootstrap/EnsuresDefaultConfiguration.php +++ b/src/Foundation/Bootstrap/EnsuresDefaultConfiguration.php @@ -32,9 +32,8 @@ public function bootstrap(Application $app): void 'APP_DEBUG' => ['app.debug' => true], 'DB_CONNECTION' => \defined('TESTBENCH_DUSK') ? ['database.default' => 'testing'] : null, ])->filter() - ->reject(static function ($config, $key) { - return Env::has($key); - })->values() + ->reject(static fn ($config, $key) => Env::has($key)) + ->values() ->all(), ]); }