From af6de04e9e141466dc229e444ff3f146f4a34765 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Fri, 23 Aug 2024 15:10:27 +0200 Subject: style: update codestyle for coding-standard 1.2.3 Signed-off-by: Daniel Kesselberg --- apps/provisioning_api/lib/Controller/AppConfigController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/provisioning_api/lib/Controller/AppConfigController.php') diff --git a/apps/provisioning_api/lib/Controller/AppConfigController.php b/apps/provisioning_api/lib/Controller/AppConfigController.php index 2ff82213997..5061a0ffc8f 100644 --- a/apps/provisioning_api/lib/Controller/AppConfigController.php +++ b/apps/provisioning_api/lib/Controller/AppConfigController.php @@ -113,7 +113,7 @@ class AppConfigController extends OCSController { public function setValue(string $app, string $key, string $value): DataResponse { $user = $this->userSession->getUser(); if ($user === null) { - throw new \Exception("User is not logged in."); // Should not happen, since method is guarded by middleware + throw new \Exception('User is not logged in.'); // Should not happen, since method is guarded by middleware } if (!$this->isAllowedToChangedKey($user, $app, $key)) { -- cgit v1.2.3