style(legacy): force semicolon on same line (#1534)
This commit is contained in:
parent
522d989cab
commit
8569af9328
85 changed files with 396 additions and 789 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue