]> source.dussan.org Git - nextcloud-server.git/commitdiff
cs:fix
authorMarcel Klehr <mklehr@gmx.net>
Fri, 30 Jun 2023 11:23:12 +0000 (13:23 +0200)
committerMarcel Klehr <mklehr@gmx.net>
Wed, 9 Aug 2023 08:01:28 +0000 (10:01 +0200)
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit fb657bfff8c23dea7fea5ab6c9415332677ec81a)

lib/private/LanguageModel/LanguageModelManager.php

index e07762cf8cc9ae7e9900cb353a30d338b75da746..4dff88b26a365d1dbfdce800ec72eba184c06a26 100644 (file)
@@ -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);