diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-09 09:22:29 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-09 10:16:08 +0200 |
commit | 2fbad1ed72bc9ef591a6f35558eb02e7b76ffd1b (patch) | |
tree | a3da09ffec08d6c8abc3bf0fabb7f8c8a1c830f6 /core/Controller | |
parent | 1575bd838f2e938b18b04bcdcc28e2fc24d95c45 (diff) | |
download | nextcloud-server-2fbad1ed72bc9ef591a6f35558eb02e7b76ffd1b.tar.gz nextcloud-server-2fbad1ed72bc9ef591a6f35558eb02e7b76ffd1b.zip |
Fix (array) indent style to always use one tab
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/Controller')
-rw-r--r-- | core/Controller/AvatarController.php | 8 | ||||
-rw-r--r-- | core/Controller/LostController.php | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/core/Controller/AvatarController.php b/core/Controller/AvatarController.php index b5d34c3ccb9..34280c6094f 100644 --- a/core/Controller/AvatarController.php +++ b/core/Controller/AvatarController.php @@ -282,8 +282,8 @@ class AvatarController extends Controller { $tmpAvatar = $this->cache->get('tmpAvatar'); if (is_null($tmpAvatar)) { return new JSONResponse(['data' => [ - 'message' => $this->l->t("No temporary profile picture available, try again") - ]], + 'message' => $this->l->t("No temporary profile picture available, try again") + ]], Http::STATUS_NOT_FOUND); } @@ -320,8 +320,8 @@ class AvatarController extends Controller { $tmpAvatar = $this->cache->get('tmpAvatar'); if (is_null($tmpAvatar)) { return new JSONResponse(['data' => [ - 'message' => $this->l->t("No temporary profile picture available, try again") - ]], + 'message' => $this->l->t("No temporary profile picture available, try again") + ]], Http::STATUS_BAD_REQUEST); } diff --git a/core/Controller/LostController.php b/core/Controller/LostController.php index a210f3de547..d7d9bc4c15c 100644 --- a/core/Controller/LostController.php +++ b/core/Controller/LostController.php @@ -159,8 +159,8 @@ class LostController extends Controller { public function resetform($token, $userId) { if ($this->config->getSystemValue('lost_password_link', '') !== '') { return new TemplateResponse('core', 'error', [ - 'errors' => [['error' => $this->l10n->t('Password reset is disabled')]] - ], + 'errors' => [['error' => $this->l10n->t('Password reset is disabled')]] + ], 'guest' ); } |