Update lib/private/TextProcessing/Manager.php

Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
pull/41271/head
Marcel Klehr 2023-11-08 17:00:48 +07:00 committed by GitHub
parent 8c0c426538
commit 12c558f20a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

@ -175,7 +175,7 @@ class Manager implements IManager {
/**
* @inheritDoc
*/
public function runOrScheduleTask(OCPTask $task) : bool {
public function runOrScheduleTask(OCPTask $task): bool {
if (!$this->canHandleTask($task)) {
throw new PreConditionNotMetException('No LanguageModel provider is installed that can handle this task');
}