diff --git a/src/Services/Examples/Maestro/CancelMaestroWorkflowService.php b/src/Services/Examples/Maestro/CancelMaestroWorkflowService.php index 0625060..9a2698b 100644 --- a/src/Services/Examples/Maestro/CancelMaestroWorkflowService.php +++ b/src/Services/Examples/Maestro/CancelMaestroWorkflowService.php @@ -45,9 +45,8 @@ 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, @@ -55,5 +54,5 @@ public static function cancelWorkflowInstance( ): CancelResponse { return $workflowInstanceApi->cancelWorkflowInstance($accountId, $instanceId); } - #ds-snippet-end:Maestro2Step2 + #ds-snippet-end:Maestro2Step3 }