mirror of
https://github.com/nextcloud/server.git
synced 2026-06-19 21:49:43 -04:00
Fix tests: Adjust constructor signature
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit fd0fd97a65)
This commit is contained in:
parent
00e3fb143f
commit
cac51714e2
1 changed files with 1 additions and 1 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in a new issue