Skip to content

Commit 256bb0b

Browse files
Merge branch '5.3' into 5.4
* 5.3: [HttpClient] fix segfault when canary is triggered after the curl handle is destructed [Workflow] Fix eventsToDispatch parameter setup for StateMachine
2 parents f68f6f5 + f517c2a commit 256bb0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

StateMachine.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
*/
2121
class StateMachine extends Workflow
2222
{
23-
public function __construct(Definition $definition, MarkingStoreInterface $markingStore = null, EventDispatcherInterface $dispatcher = null, string $name = 'unnamed')
23+
public function __construct(Definition $definition, MarkingStoreInterface $markingStore = null, EventDispatcherInterface $dispatcher = null, string $name = 'unnamed', array $eventsToDispatch = null)
2424
{
25-
parent::__construct($definition, $markingStore ?? new MethodMarkingStore(true), $dispatcher, $name);
25+
parent::__construct($definition, $markingStore ?? new MethodMarkingStore(true), $dispatcher, $name, $eventsToDispatch);
2626
}
2727
}

0 commit comments

Comments
 (0)