From c10c6ecf166288fc6939413086ab3e62910d291c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Mon, 19 Feb 2024 14:48:33 +0000 Subject: [PATCH] Linter fix --- app/controllers/api/health.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/health.php b/app/controllers/api/health.php index 787954cea6..3316b9f087 100644 --- a/app/controllers/api/health.php +++ b/app/controllers/api/health.php @@ -56,7 +56,7 @@ App::get('/v1/health/version') ->action(function (mixed $http, Response $response) { $stats = $http->stats(); - if(($stats['idle_worker_num'] ?? 0) <= 1) { + if (($stats['idle_worker_num'] ?? 0) <= 1) { throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Can not process more requests at the moment.'); }