Skip to content

Commit 9bb01f2

Browse files
2 parents 59a0f6f + edb7a70 commit 9bb01f2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Services/Examples/Maestro/CancelMaestroWorkflowService.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,14 @@ public static function getWorkflowInstanceAndCheckItsStatus(
4545
* @param string $accountId
4646
* @param string $instanceId
4747
* @return CancelResponse
48-
* @throws ApiException
4948
*/
50-
#ds-snippet-start:Maestro2Step2
49+
#ds-snippet-start:Maestro2Step3
5150
public static function cancelWorkflowInstance(
5251
WorkflowInstanceManagementApi $workflowInstanceApi,
5352
string $accountId,
5453
string $instanceId
5554
): CancelResponse {
5655
return $workflowInstanceApi->cancelWorkflowInstance($accountId, $instanceId);
5756
}
58-
#ds-snippet-end:Maestro2Step2
57+
#ds-snippet-end:Maestro2Step3
5958
}

0 commit comments

Comments
 (0)