From 6d568b0d32d1255f76608e9d6b4b154dc57e5fea Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Wed, 19 Jul 2023 17:33:11 +0200 Subject: [PATCH] Fix tests: Adjust constructor signature Signed-off-by: Marcel Klehr --- core/Controller/TextProcessingApiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Controller/TextProcessingApiController.php b/core/Controller/TextProcessingApiController.php index 58036fb25bc..9ed332644e1 100644 --- a/core/Controller/TextProcessingApiController.php +++ b/core/Controller/TextProcessingApiController.php @@ -91,7 +91,7 @@ class TextProcessingApiController extends \OCP\AppFramework\OCSController { */ public function schedule(string $input, string $type, string $appId, string $identifier = ''): DataResponse { try { - $task = new Task($type, $input, $this->userId, $appId, $identifier); + $task = new Task($type, $input, $appId, $this->userId, $identifier); } catch (InvalidArgumentException) { return new DataResponse(['message' => $this->l->t('Requested task type does not exist')], Http::STATUS_BAD_REQUEST); } -- 2.39.5