original_string: public function update($taskId, array $data)
      {
          $data = self::mergeData($data, [
              'finished' => false,
              'smContactTaskReq' => [
                  'id' => $taskId,
              ],
          ]);
  
          return $this->client->doPost('contact/updateTask', $data);
      }
code: public function update($taskId, array $data)
      {
          $data = self::mergeData($data, [
              'finished' => false,
              'smContactTaskReq' => [
                  'id' => $taskId,
              ],
          ]);
  
          return $this->client->doPost('contact/updateTask', $data);
      }
code_tokens: public function update ( $ taskId , array $ data ) { $ data = self :: mergeData ( $ data , [ 'finished' => false , 'smContactTaskReq' => [ 'id' => $ taskId , ] , ] ) ; return $ this -> client -> doPost ( 'contact/updateTask' , $ data ) ; }
docstring: Update task.
  
  @param  string $taskId Task internal ID
  @param  array  $data   Task data
  @return array
docstring_tokens: Update task .