aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller/GuestAvatarController.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Controller/GuestAvatarController.php')
-rw-r--r--core/Controller/GuestAvatarController.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Controller/GuestAvatarController.php b/core/Controller/GuestAvatarController.php
index 7eef6828fec..711158e0708 100644
--- a/core/Controller/GuestAvatarController.php
+++ b/core/Controller/GuestAvatarController.php
@@ -1,4 +1,5 @@
<?php
+
/**
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
@@ -76,7 +77,7 @@ class GuestAvatarController extends Controller {
$this->logger->error('error while creating guest avatar', [
'err' => $e,
]);
- $resp = new Http\Response();
+ $resp = new Response();
$resp->setStatus(Http::STATUS_INTERNAL_SERVER_ERROR);
return $resp;
}