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