summaryrefslogtreecommitdiffstats
path: root/inc/taskmanager.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2023-03-02 13:47:29 +0100
committerSimon Rettberg2023-03-02 13:47:29 +0100
commitdd874de717661d305403dc1b403ae27f2ba67a9a (patch)
tree82d794e20eb708a1117a6998e4a686ff9fcad960 /inc/taskmanager.inc.php
parent[statistics] Fix warning on empty list; add comments (diff)
downloadslx-admin-dd874de717661d305403dc1b403ae27f2ba67a9a.tar.gz
slx-admin-dd874de717661d305403dc1b403ae27f2ba67a9a.tar.xz
slx-admin-dd874de717661d305403dc1b403ae27f2ba67a9a.zip
[inc/Taskmanager] 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 a21dc5f7..4e534018 100644
--- a/inc/taskmanager.inc.php
+++ b/inc/taskmanager.inc.php
@@ -49,7 +49,7 @@ class Taskmanager
* @param array $data data to pass to the task. the structure depends on the task.
* @param boolean $async if true, the function will not wait for the reply of the taskmanager, which means
* the return value is just true (and you won't know if the task could actually be started)
- * @return array|false struct representing the task status (as a result of submit); false on communication error
+ * @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 submit($task, $data = false, $async = false)
{