]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix tests: Adjust constructor signature
authorMarcel Klehr <mklehr@gmx.net>
Wed, 19 Jul 2023 15:32:28 +0000 (17:32 +0200)
committerMarcel Klehr <mklehr@gmx.net>
Wed, 9 Aug 2023 08:05:24 +0000 (10:05 +0200)
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit fd0fd97a6594f47c9a5fc4f833c2defa07078ae2)

lib/private/TextProcessing/Db/Task.php

index 8e800c76df8e3c7b272f11206870ab4b7a2224ce..8c2ddb74f1fb76ae287bda5ffe004e0426a2e659 100644 (file)
@@ -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());