1
0
Fork 0
mirror of synced 2024-09-30 17:26:48 +13:00

linter fix

This commit is contained in:
Damodar Lohani 2022-08-21 10:16:55 +00:00
parent 0d57c67cc0
commit fa165a735b

View file

@ -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]);