original_string: function cancelSubmission($submissionTicket, $comment = NULL) {
  		if ($comment == NULL) {
  			$cancelSubmissionRequest = new cancelSubmission ();
  			$cancelSubmissionRequest->submissionId = $submissionTicket;
  			return $this->submissionService->cancelSubmission ( $cancelSubmissionRequest )->return;
  		} else {
  			$cancelSubmissionRequest = new cancelSubmissionWithComment ();
  			$cancelSubmissionRequest->comment = $comment;
  			$cancelSubmissionRequest->submissionId = $submissionTicket;
  			return $this->submissionService->cancelSubmissionWithComment ( $cancelSubmissionRequest )->return;
  		}
  	}
code: function cancelSubmission($submissionTicket, $comment = NULL) {
  		if ($comment == NULL) {
  			$cancelSubmissionRequest = new cancelSubmission ();
  			$cancelSubmissionRequest->submissionId = $submissionTicket;
  			return $this->submissionService->cancelSubmission ( $cancelSubmissionRequest )->return;
  		} else {
  			$cancelSubmissionRequest = new cancelSubmissionWithComment ();
  			$cancelSubmissionRequest->comment = $comment;
  			$cancelSubmissionRequest->submissionId = $submissionTicket;
  			return $this->submissionService->cancelSubmissionWithComment ( $cancelSubmissionRequest )->return;
  		}
  	}
code_tokens: function cancelSubmission ( $ submissionTicket , $ comment = NULL ) { if ( $ comment == NULL ) { $ cancelSubmissionRequest = new cancelSubmission ( ) ; $ cancelSubmissionRequest -> submissionId = $ submissionTicket ; return $ this -> submissionService -> cancelSubmission ( $ cancelSubmissionRequest ) -> return ; } else { $ cancelSubmissionRequest = new cancelSubmissionWithComment ( ) ; $ cancelSubmissionRequest -> comment = $ comment ; $ cancelSubmissionRequest -> submissionId = $ submissionTicket ; return $ this -> submissionService -> cancelSubmissionWithComment ( $ cancelSubmissionRequest ) -> return ; } }
docstring: Cancel Submission for all languages
  
  @param
  $submissionTicket
  Submission ticket to cancel
  @param
  $comment
  [OPTIONAL] Cancellation comment
docstring_tokens: Cancel Submission for all languages