diff --git a/src/Commands/LaravelHorizonDoctorCommand.php b/src/Commands/LaravelHorizonDoctorCommand.php index 03bd8f8..b61afb5 100644 --- a/src/Commands/LaravelHorizonDoctorCommand.php +++ b/src/Commands/LaravelHorizonDoctorCommand.php @@ -18,10 +18,7 @@ public function handle(): int foreach ($default as $key => $value) { if (isset($horizonConfigs[$key])) { - $horizonConfigs[$key] = [ - ...$value, - ...$horizonConfigs[$key], - ]; + $horizonConfigs[$key] = array_merge($value, $horizonConfigs[$key]); } }