style(legacy): force semicolon on same line (#1534)

This commit is contained in:
Jonas L 2022-01-23 19:15:55 +01:00 committed by GitHub
parent 522d989cab
commit 8569af9328
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
85 changed files with 396 additions and 789 deletions

View file

@ -13,8 +13,7 @@ class RestAuth
$action->getResponse()
->setHttpResponseCode(401)
->appendBody(json_encode(['message' => 'ERROR: Incorrect API key.']))
;
->appendBody(json_encode(['message' => 'ERROR: Incorrect API key.']));
return false;
}
@ -30,8 +29,7 @@ class RestAuth
$defaultOwner = CcSubjsQuery::create()
->filterByDbType(['A', 'S'], Criteria::IN)
->orderByDbId()
->findOne()
;
->findOne();
if (!$defaultOwner) {
// what to do if there is no admin user?
// should we handle this case?