aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller/TextToImageApiController.php
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2024-09-05 21:23:38 +0200
committerAnna Larch <anna@nextcloud.com>2024-09-05 21:23:38 +0200
commit8af7ecb2576071f170ecbb0aa2311b26581e40e2 (patch)
tree9a8f3595cb28493368f78b0a049254d0a256b3c1 /core/Controller/TextToImageApiController.php
parent4566cf791d55f1202f4a1888b9cd23a7be0ed2c9 (diff)
downloadnextcloud-server-8af7ecb2576071f170ecbb0aa2311b26581e40e2.tar.gz
nextcloud-server-8af7ecb2576071f170ecbb0aa2311b26581e40e2.zip
chore: adjust code to adhere to coding standard
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'core/Controller/TextToImageApiController.php')
-rw-r--r--core/Controller/TextToImageApiController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/TextToImageApiController.php b/core/Controller/TextToImageApiController.php
index c8528c19cc2..241c752ea01 100644
--- a/core/Controller/TextToImageApiController.php
+++ b/core/Controller/TextToImageApiController.php
@@ -150,7 +150,7 @@ class TextToImageApiController extends \OCP\AppFramework\OCSController {
$task = $this->textToImageManager->getUserTask($id, $this->userId);
try {
$folder = $this->appData->getFolder('text2image');
- } catch(NotFoundException) {
+ } catch (NotFoundException) {
$res = new DataResponse(['message' => $this->l->t('Image not found')], Http::STATUS_NOT_FOUND);
$res->throttle(['action' => 'text2image']);
return $res;