diff options
author | Marcel Klehr <mklehr@gmx.net> | 2023-09-07 13:03:38 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2023-10-18 13:21:50 +0200 |
commit | 2d44c7c1ed4487b946a72eb9d32da59d799d8c66 (patch) | |
tree | 41a45740b8b7f48751ae546ba7901bdc3c4af929 /lib | |
parent | c8cab9d2fd347975d3d5b4e1d7d9b549e5db6e25 (diff) | |
download | nextcloud-server-2d44c7c1ed4487b946a72eb9d32da59d799d8c66.tar.gz nextcloud-server-2d44c7c1ed4487b946a72eb9d32da59d799d8c66.zip |
Small fixes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/TextToImage/Task.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/public/TextToImage/Task.php b/lib/public/TextToImage/Task.php index 05ef1f5195f..2e839389a97 100644 --- a/lib/public/TextToImage/Task.php +++ b/lib/public/TextToImage/Task.php @@ -162,7 +162,7 @@ final class Task implements \JsonSerializable { } /** - * @psalm-return array{id: ?int, status: 0|1|2|3|4, userId: ?string, appId: string, input: string, output: ?string, identifier: string} + * @psalm-return array{id: ?int, status: 0|1|2|3|4, userId: ?string, appId: string, input: string, identifier: string} * @since 28.0.0 */ public function jsonSerialize(): array { @@ -172,7 +172,6 @@ final class Task implements \JsonSerializable { 'userId' => $this->getUserId(), 'appId' => $this->getAppId(), 'input' => $this->getInput(), - 'result' => $this->getOutput(), 'identifier' => $this->getIdentifier(), ]; } |