Skip to content

Commit 4586778

Browse files
Revert "minor #44642 [Workflow] Fix Event constructor requirements (lyrixx)"
This reverts commit 18c7edd2e481c4043a2552873ee0f62395e2b367, reversing changes made to e5d3deaf2edf469bc4c542d00d43428fa8d33dc2.
1 parent 99bbd1b commit 4586778

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Event/Event.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Event extends BaseEvent
2929
private $transition;
3030
private $workflow;
3131

32-
public function __construct(object $subject, Marking $marking, Transition $transition = null, WorkflowInterface $workflow, array $context = [])
32+
public function __construct(object $subject, Marking $marking, Transition $transition = null, WorkflowInterface $workflow = null, array $context = [])
3333
{
3434
$this->subject = $subject;
3535
$this->marking = $marking;

0 commit comments

Comments
 (0)