diff --git a/src/Abstraction/StateMachine/CompositeStateMachine.php b/src/Abstraction/StateMachine/CompositeStateMachine.php index 3af6975..38adc44 100644 --- a/src/Abstraction/StateMachine/CompositeStateMachine.php +++ b/src/Abstraction/StateMachine/CompositeStateMachine.php @@ -20,7 +20,8 @@ public function getTransitionToState(object $subject, string $graphName, string return $this->stateMachine->getTransitionToState($subject, $graphName, $toState); } - public function apply(object $subject, string $graphName, string $transition, array $context = []): void { + public function apply(object $subject, string $graphName, string $transition, array $context = []): void + { $this->stateMachine->apply($subject, $graphName, $transition, $context); } }