summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-06-30 13:23:12 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-08-09 10:01:28 +0200
commit4447d59d177ce6160727de0f8307558238693253 (patch)
treecc27975a9f60ce7881648d9c8e76bc7d72264753 /lib/private
parent8197403de12f3f7bf6406f21b16b161cdfb2536d (diff)
downloadnextcloud-server-4447d59d177ce6160727de0f8307558238693253.tar.gz
nextcloud-server-4447d59d177ce6160727de0f8307558238693253.zip
cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit fb657bfff8c23dea7fea5ab6c9415332677ec81a)
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/LanguageModel/LanguageModelManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/LanguageModel/LanguageModelManager.php b/lib/private/LanguageModel/LanguageModelManager.php
index e07762cf8cc..4dff88b26a3 100644
--- a/lib/private/LanguageModel/LanguageModelManager.php
+++ b/lib/private/LanguageModel/LanguageModelManager.php
@@ -123,7 +123,7 @@ class LanguageModelManager implements ILanguageModelManager {
if ($task->getId() === null) {
$taskEntity = $this->taskMapper->insert(Task::fromLanguageModelTask($task));
$task->setId($taskEntity->getId());
- }else {
+ } else {
$this->taskMapper->update(Task::fromLanguageModelTask($task));
}
$output = $task->visitProvider($provider);