Skip to content

Commit 99bbd1b

Browse files
committed
[Workflow] Fix Event constructor requirements
This has already been deprecied in 4.x But while cleaning the 5.x branch, I forgot to apply this patch See https://github.com/symfony/symfony/pull/31824/files#diff-5f386ffb0109cc731bd98e63eea021b32faadd98791bd6ba65926d09c5e2ec40L37
1 parent f517c2a commit 99bbd1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Event/Event.php

Lines changed: 1 addition & 1 deletion
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 = null, array $context = [])
32+
public function __construct(object $subject, Marking $marking, Transition $transition = null, WorkflowInterface $workflow, array $context = [])
3333
{
3434
$this->subject = $subject;
3535
$this->marking = $marking;

0 commit comments

Comments
 (0)