style(legacy): php-cs-fixer upgrade

This commit is contained in:
jo 2022-07-11 17:07:30 +02:00 committed by Jonas L
parent 25fbf5cf32
commit c28fe32cdc
13 changed files with 22 additions and 23 deletions

View file

@ -105,14 +105,14 @@ class ApiController extends Zend_Controller_Action
$authAdapter = Zend_Auth::getInstance();
Application_Model_Auth::pinSessionToClient($authAdapter);
if ((Zend_Auth::getInstance()->hasIdentity())) {
if (Zend_Auth::getInstance()->hasIdentity()) {
return true;
}
header('HTTP/1.0 401 Unauthorized');
echo _('You are not allowed to access this resource.');
exit();
exit;
}
public function versionAction()

View file

@ -769,7 +769,7 @@ class ScheduleController extends Zend_Controller_Action
echo Zend_Json::encode($result);
exit();
exit;
}
public function updateFutureIsScheduledAction()

View file

@ -183,7 +183,7 @@ class Zend_Controller_Plugin_Acl extends Zend_Controller_Plugin_Abstract
->appendBody('ERROR: CSRF token mismatch.')
->sendResponse();
exit();
exit;
}
}