Skip to content

Commit d4a2db2

Browse files
author
Tobias Wojtylak
committed
removed call setFlow on controller
1 parent de66163 commit d4a2db2

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/Controller/MultiStepController.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,16 +74,11 @@ public function stepAction(Request $request, string $flow_slug, string $step_slu
7474
}
7575

7676
// set flow context
77-
if ($controller instanceof StepAwareInterface) {
77+
if ($controller instanceof FlowAwareInterface) {
7878
$controller->setFlowContext($flowContext);
7979
$controller->setRouter($router);
8080
}
8181

82-
// set flow
83-
if ($controller instanceof FlowAwareInterface) {
84-
$controller->setFlow($flow);
85-
}
86-
8782
return call_user_func_array($callableController, $arguments);
8883
}
8984

0 commit comments

Comments
 (0)