Skip to content

Commit 29a21ce

Browse files
GuardEvent::getTransition() cannot return null
Co-authored-by: Alexander M. Turek <[email protected]> Signed-off-by: Alexander M. Turek <[email protected]>
1 parent 65768ab commit 29a21ce

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Event/GuardEvent.php

+5
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)