fix phpstan

This commit is contained in:
Saeed Vaziry
2025-06-19 21:29:34 +02:00
parent 9a3578f3ac
commit cf9bb35615
2 changed files with 2 additions and 5 deletions

View File

@ -20,8 +20,7 @@ public function check(Server $server): Server
$server->status = ServerStatus::READY;
$server->save();
}
} catch (Throwable $e) {
throw $e;
} catch (Throwable) {
$server->status = ServerStatus::DISCONNECTED;
$server->save();
Notifier::send($server, new ServerDisconnected($server));

View File

@ -106,8 +106,6 @@
\App\Http\Middleware\MustBeAdminMiddleware::class,
],
'api_stateful_domains' => env('LOG_VIEWER_API_STATEFUL_DOMAINS') ? explode(',', env('LOG_VIEWER_API_STATEFUL_DOMAINS')) : null,
/*
|--------------------------------------------------------------------------
| Log Viewer Remote hosts.
@ -120,7 +118,7 @@
'hosts' => [
'local' => [
'name' => ucfirst(env('APP_ENV', 'local')),
'name' => 'local',
],
// 'staging' => [