Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a6cd5b9

Browse files
committed
minor #26615 [Workflow] removed bc break (lyrixx)
This PR was merged into the 4.1-dev branch. Discussion ---------- [Workflow] removed bc break | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | | Tests pass? | yes | Fixed tickets | #26076 | License | MIT | Doc PR | Commits ------- 685695d [Workflow] removed bc break
2 parents 14ab56e + 685695d commit a6cd5b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ public function __construct($subject, Marking $marking, Transition $transition,
3434
$this->transitionBlockerList = new TransitionBlockerList();
3535
}
3636

37-
public function isBlocked(): bool
37+
public function isBlocked()
3838
{
3939
return !$this->transitionBlockerList->isEmpty();
4040
}
4141

42-
public function setBlocked(bool $blocked): void
42+
public function setBlocked($blocked)
4343
{
4444
if (!$blocked) {
4545
$this->transitionBlockerList->reset();

0 commit comments

Comments
 (0)