From fa165a735bce80cf24f4b2e834b4fc24beb38a12 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Sun, 21 Aug 2022 10:16:55 +0000 Subject: [PATCH] linter fix --- app/controllers/shared/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/shared/api.php b/app/controllers/shared/api.php index 298025ef4f..b7070d635a 100644 --- a/app/controllers/shared/api.php +++ b/app/controllers/shared/api.php @@ -404,7 +404,7 @@ App::shutdown() foreach ($usageParams as $param) { $param = $parseLabel($param, $responsePayload, $requestParams, $user); $parts = explode(':', $param); - if(count($parts) != 2) { + if (count($parts) != 2) { throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Usage params not properly set'); } $usage->setParam($parts[0], $parts[1]);