aboutsummaryrefslogtreecommitdiffstats
path: root/core/ResponseDefinitions.php
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2024-05-06 16:36:35 +0200
committerMarcel Klehr <mklehr@gmx.net>2024-05-14 11:38:41 +0200
commitec27c538b531108ab2cf26fe3264d001f9230aa2 (patch)
tree6618f6771a34642eece57f89b0f2a224880108ea /core/ResponseDefinitions.php
parentef61c50f4bcd5ea5911370c682aff19618a4d355 (diff)
downloadnextcloud-server-ec27c538b531108ab2cf26fe3264d001f9230aa2.tar.gz
nextcloud-server-ec27c538b531108ab2cf26fe3264d001f9230aa2.zip
fix: address review comments
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'core/ResponseDefinitions.php')
-rw-r--r--core/ResponseDefinitions.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/ResponseDefinitions.php b/core/ResponseDefinitions.php
index 75e307e455c..bdf0005c950 100644
--- a/core/ResponseDefinitions.php
+++ b/core/ResponseDefinitions.php
@@ -195,11 +195,11 @@ namespace OCA\Core;
* @psalm-type CoreTaskProcessingTask = array{
* id: int,
* type: string,
- * status: 0|1|2|3|4|5,
+ * status: 'STATUS_CANCELLED'|'STATUS_FAILED'|'STATUS_SUCCESSFUL'|'STATUS_RUNNING'|'STATUS_SCHEDULED'|'STATUS_UNKNOWN',
* userId: ?string,
* appId: string,
- * input: ?array<string, mixed>,
- * output: ?array<string, mixed>,
+ * input: array<string, numeric|list<numeric>|string|list<string>>,
+ * output: ?array<string, numeric|list<numeric>|string|list<string>>,
* identifier: ?string,
* completionExpectedAt: ?int,
* progress: ?float