code: public function updateTask($process_id, $task_id, $task_update_item)
      {
          list($response) = $this->updateTaskWithHttpInfo($process_id, $task_id, $task_update_item);
          return $response;
      }
docs: Operation updateTask
  
  
  
  @param string $process_id ID of the process to fetch (required)
  @param string $task_id ID of the task to fetch (required)
  @param \ProcessMaker\PMIO\Model\TaskUpdateItem $task_update_item Task object to edit (required)
  @return \ProcessMaker\PMIO\Model\TaskItem
  @throws \ProcessMaker\PMIO\ApiException on non-2xx response