summaryrefslogtreecommitdiffstats
path: root/inc/taskmanager.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2024-10-08 16:20:17 +0200
committerSimon Rettberg2024-10-08 16:20:17 +0200
commit55ee66705eecc60709747cc997ffb65572592946 (patch)
tree03f4b2960f67931673b3cc8ba71a42a00b5c11ef /inc/taskmanager.inc.php
parentMove helper script to proper directory (diff)
downloadslx-admin-55ee66705eecc60709747cc997ffb65572592946.tar.gz
slx-admin-55ee66705eecc60709747cc997ffb65572592946.tar.xz
slx-admin-55ee66705eecc60709747cc997ffb65572592946.zip
Update phpdoc
Diffstat (limited to 'inc/taskmanager.inc.php')
-rw-r--r--inc/taskmanager.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/taskmanager.inc.php b/inc/taskmanager.inc.php
index d9396901..b165e2f3 100644
--- a/inc/taskmanager.inc.php
+++ b/inc/taskmanager.inc.php
@@ -127,7 +127,7 @@ class Taskmanager
*
* @param string|array $task task to wait for
* @param int $timeout maximum time in ms to wait for completion of task
- * @return array|false result/status of task, or false if it couldn't be queried
+ * @return array{id: string, statusCode: string, data: array}|bool struct representing the task status (as a result of submit); false on communication error
*/
public static function waitComplete($task, int $timeout = 2500)
{