diff --git a/src/Servers/Reverb/Console/Commands/StartServer.php b/src/Servers/Reverb/Console/Commands/StartServer.php index 5ab528a1..bbfdf714 100644 --- a/src/Servers/Reverb/Console/Commands/StartServer.php +++ b/src/Servers/Reverb/Console/Commands/StartServer.php @@ -150,10 +150,12 @@ public function getSubscribedSignals(): array /** * Handle the signals sent to the server. */ - public function handleSignal(int $signal): void + public function handleSignal(int $signal, int|false $previousExitCode = 0): int|false { $this->components->info('Gracefully terminating connections.'); $this->gracefullyDisconnect(); + + return $previousExitCode; } }