- Remove unused fields.

This commit is contained in:
caoyanyi
2023-05-25 15:34:26 +08:00
parent 83911b5d7f
commit 714aa3bafa
4 changed files with 13 additions and 18 deletions
+2 -3
View File
@@ -229,12 +229,11 @@ class taskTest
*
* @param int $taskID
* @param array $param
* @param string $comment
* @param array $output
* @access public
* @return array|bool
*/
public function afterStartTest(int $taskID, array $param = array(), string $comment = '', array $output = array()): array|bool
public function afterStartTest(int $taskID, array $param = array(), array $output = array()): array|bool
{
$task = new stdclass();
$startFields = array('id' => $taskID, 'status' => 'doing', 'assignedTo' => '', 'realstarted' => '', 'left' => 0, 'consumed' => 0);
@@ -243,7 +242,7 @@ class taskTest
$oldTask = $this->objectModel->getByID($taskID);
$changes = $this->objectModel->start($oldTask, $task);
$result = $this->objectModel->afterStart($oldTask, $task, $changes, $task->left, $comment, $output);
$result = $this->objectModel->afterStart($oldTask, $changes, $task->left, $output);
return $result;
}