8000 Revert "minor #44642 [Workflow] Fix Event constructor requirements (l… · symfony/symfony@98e0fa4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 98e0fa4

Browse files
< 8000 div class="CommitHeader-module__commit-message-container--nl1pf">
Revert "minor #44642 [Workflow] Fix Event constructor requirements (lyrixx)"
This reverts commit 18c7edd, reversing changes made to e5d3dea.
1 parent 18c7edd commit 98e0fa4

File tree

1 file changed

+1
-1
lines changed
  • src/Symfony/Component/Workflow/Event

1 file changed

+1
-1
lines changed

src/Symfony/Component/Workflow/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, 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)
0