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
-------
685695d7b1
[Workflow] removed bc break
This commit is contained in:
commit
a6cd5b93ce
|
@ -34,12 +34,12 @@ class GuardEvent extends Event
|
|||
$this->transitionBlockerList = new TransitionBlockerList();
|
||||
}
|
||||
|
||||
public function isBlocked(): bool
|
||||
public function isBlocked()
|
||||
{
|
||||
return !$this->transitionBlockerList->isEmpty();
|
||||
}
|
||||
|
||||
public function setBlocked(bool $blocked): void
|
||||
public function setBlocked($blocked)
|
||||
{
|
||||
if (!$blocked) {
|
||||
$this->transitionBlockerList->reset();
|
||||
|
|
Reference in New Issue