chore: Refactor ServerStatusJob constructor formatting

This commit is contained in:
Andras Bacsai 2024-06-25 14:29:47 +02:00
parent c015c8f45d
commit 116f5afe3c

View File

@ -25,7 +25,9 @@ public function backoff(): int
return isDev() ? 1 : 3; return isDev() ? 1 : 3;
} }
public function __construct(public Server $server) {} public function __construct(public Server $server)
{
}
public function middleware(): array public function middleware(): array
{ {
@ -51,7 +53,7 @@ public function handle()
} }
} }
} catch (\Throwable $e) { } catch (\Throwable $e) {
send_internal_notification('ServerStatusJob failed with: '.$e->getMessage()); // send_internal_notification('ServerStatusJob failed with: '.$e->getMessage());
ray($e->getMessage()); ray($e->getMessage());
return handleError($e); return handleError($e);