8000 [Workflow] #24501 Add transition blockers. · d-ph/symfony@edda4a9 · GitHub
[go: up one dir, main page]

Ski 8000 p to content

Commit edda4a9

Browse files
author
d-ph
committed
[Workflow] symfony#24501 Add transition blockers.
1 parent 71c4667 commit edda4a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Component/Workflow/TransitionBlockerList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function set(int $offset, TransitionBlocker $blocker): void
5050
$this->blockers[$offset] = $blocker;
5151
}
5252

53-
public function remove(int$offset): void
53+
public function remove(int $offset): void
5454
{
5555
unset($this->blockers[$offset]);
5656
}

src/Symfony/Component/Workflow/Workflow.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ private function getEnabledTransitionsByNameOrTransitionBlockerList($subject, st
378378
$transitions = array();
379379

380380
/** @var TransitionBlockerList[] $transitionBlockerLists */
381-
$transitionBlockerLists = [];
381+
$transitionBlockerLists = array();
382382

383383
foreach ($eligibleTransitions as $transition) {
384384
$transitionBlockerLists[]

0 commit comments

Comments
 (0)
0