From 39a960975f1dbcc81ef3361633e16186f0d03b10 Mon Sep 17 00:00:00 2001 From: Francis Hilaire Date: Thu, 26 Sep 2024 12:11:41 +0200 Subject: [PATCH] Fix ecs --- src/Abstraction/StateMachine/CompositeStateMachine.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } }