From dd874de717661d305403dc1b403ae27f2ba67a9a Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 2 Mar 2023 13:47:29 +0100 Subject: [inc/Taskmanager] Update phpdoc --- inc/taskmanager.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc') 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) { -- cgit v1.2.3-55-g7522