src/Imp/FSM.php
Method newStateContext
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static function newStateContext(StateMachine $stateMachine, StateMachineData $data, ?ImmutableState $sourceState, $event, $context, ?TransitionResult $result, ActionExecutionService $executor): StateContext