From 8d2998be8cd9b99db30c34c4ff850ffe18b579f6 Mon Sep 17 00:00:00 2001 From: Oliver Kaufmann Date: Tue, 8 Nov 2022 13:52:51 +0100 Subject: [PATCH] make php 8 compatible --- src/Commands/LaravelHorizonDoctorCommand.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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]); } }