From fd0fd97a6594f47c9a5fc4f833c2defa07078ae2 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Wed, 19 Jul 2023 17:32:28 +0200 Subject: [PATCH] Fix tests: Adjust constructor signature Signed-off-by: Marcel Klehr --- lib/private/TextProcessing/Db/Task.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/TextProcessing/Db/Task.php b/lib/private/TextProcessing/Db/Task.php index 8e800c76df8..8c2ddb74f1f 100644 --- a/lib/private/TextProcessing/Db/Task.php +++ b/lib/private/TextProcessing/Db/Task.php @@ -103,7 +103,7 @@ class Task extends Entity { } public function toPublicTask(): OCPTask { - $task = new OCPTask($this->getType(), $this->getInput(), $this->getuserId(), $this->getAppId(), $this->getIdentifier()); + $task = new OCPTask($this->getType(), $this->getInput(), $this->getAppId(), $this->getuserId(), $this->getIdentifier()); $task->setId($this->getId()); $task->setStatus($this->getStatus()); $task->setOutput($this->getOutput()); -- 2.39.5