Skip to content

Commit 661a9c3

Browse files
authored
Fix workflow template missing parentheses (#367)
## Checklist - [ ] Unit Tests - [ ] UI Tests - [ ] Snapshot Tests (iOS only) - [ ] I have made corresponding changes to the documentation
1 parent 8de85a0 commit 661a9c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tooling/Templates/Workflow (Verbose).xctemplate/Default/___FILEBASENAME___Workflow.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ extension ___VARIABLE_productName___Workflow {
2525
enum Action: WorkflowAction {
2626
typealias WorkflowType = ___VARIABLE_productName___Workflow
2727

28-
func applytoState state: inout ___VARIABLE_productName___Workflow.State, context: ApplyContext<WorkflowType> -> ___VARIABLE_productName___Workflow.Output? {
28+
func apply(toState state: inout ___VARIABLE_productName___Workflow.State, context: ApplyContext<WorkflowType>) -> ___VARIABLE_productName___Workflow.Output? {
2929
switch self {
3030
// Update state and produce an optional output based on which action was received.
3131
}

0 commit comments

Comments
 (0)