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

Skip to content 8000

Commit 755df5e

Browse files
author
d-ph
committed
[Workflow] symfony#24501 Transition blockers.
1 parent ecf2e72 commit 755df5e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Component/Validator/ConstraintViolationList.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,12 @@ public function offsetGet($offset)
142142
/**
143143
* {@inheritdoc}
144144
*/
145-
public function offsetSet($offset, $blocker)
145+
public function offsetSet($offset, $violation)
146146
{
147147
if (null === $offset) {
148-
$this->add($blocker);
148+
$this->add($violation);
149149
} else {
150-
$this->set($offset, $blocker);
150+
$this->set($offset, $violation);
151151
}
152152
}
153153

0 commit comments

Comments
 (0)
0