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()