8000 GuardEvent::getTransition() cannot return null · symfony/symfony@75bc96d · GitHub
[go: up one dir, main page]

Skip to content

Commit 75bc96d

Browse files
GuardEvent::getTransition() cannot return null
Co-authored-by: Alexander M. Turek <me@derrabus.de> Signed-off-by: Alexander M. Turek <me@derrabus.de>
1 parent 21528c6 commit 75bc96d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Symfony/Component/Workflow/Event/GuardEvent.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ public function __construct(object $subject, Marking $marking, Transition $trans
3535
$this->transitionBlockerList = new TransitionBlockerList();
3636
}
3737

38+
public function getTransition(): Transition
39+
{
40+
return parent::getTransition();
41+
}
42+
3843
public function isBlocked(): bool
3944
{
4045
return !$this->transitionBlockerList->isEmpty();

0 commit comments

Comments
 (0)
0