Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
karissarjacobsen committed Apr 5, 2024
2 parents 59a0f6f + edb7a70 commit 9bb01f2
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,14 @@ public static function getWorkflowInstanceAndCheckItsStatus(
* @param string $accountId
* @param string $instanceId
* @return CancelResponse
* @throws ApiException
*/
#ds-snippet-start:Maestro2Step2
#ds-snippet-start:Maestro2Step3
public static function cancelWorkflowInstance(
WorkflowInstanceManagementApi $workflowInstanceApi,
string $accountId,
string $instanceId
): CancelResponse {
return $workflowInstanceApi->cancelWorkflowInstance($accountId, $instanceId);
}
#ds-snippet-end:Maestro2Step2
#ds-snippet-end:Maestro2Step3
}

0 comments on commit 9bb01f2

Please sign in to comment.