diff options
Diffstat (limited to 'inc/taskmanager.inc.php')
-rw-r--r-- | inc/taskmanager.inc.php | 2 |
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) { |