From 8af7ecb2576071f170ecbb0aa2311b26581e40e2 Mon Sep 17 00:00:00 2001 From: Anna Larch Date: Thu, 5 Sep 2024 21:23:38 +0200 Subject: chore: adjust code to adhere to coding standard Signed-off-by: Anna Larch --- core/Controller/TextToImageApiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/Controller/TextToImageApiController.php') 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; -- cgit v1.2.3