summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
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);