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

@ -15,8 +15,7 @@ class PreferenceController extends Zend_Controller_Action
->addActionContext('get-liquidsoap-status', 'json')
->addActionContext('set-source-connection-url', 'json')
->addActionContext('get-admin-password-status', 'json')
->initContext()
;
->initContext();
}
public function indexAction()
@ -512,8 +511,7 @@ class PreferenceController extends Zend_Controller_Action
if (!($method == 'POST')) {
$this->getResponse()
->setHttpResponseCode(405)
->appendBody(_('Request method not accepted') . ": {$method}")
;
->appendBody(_('Request method not accepted') . ": {$method}");
return;
}
@ -524,8 +522,7 @@ class PreferenceController extends Zend_Controller_Action
$this->getResponse()
->setHttpResponseCode(200)
->appendBody('OK')
;
->appendBody('OK');
}
private function deleteFutureScheduleItems()
@ -534,8 +531,7 @@ class PreferenceController extends Zend_Controller_Action
$nowDateTime = new DateTime('now', $utcTimezone);
$scheduleItems = CcScheduleQuery::create()
->filterByDbEnds($nowDateTime->format(DEFAULT_TIMESTAMP_FORMAT), Criteria::GREATER_THAN)
->find()
;
->find();
// Delete all the schedule items
foreach ($scheduleItems as $i) {