8000 [Validator] fixed typo · brtriver/symfony@1a055fc · GitHub
[go: up one dir, main page]

Skip to content

Commit 1a055fc

Browse files
committed
[Validator] fixed typo
1 parent a6caa3d commit 1a055fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Validator/ConstraintViolation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function getMessageParameters()
3131

3232
public function getMessage()
3333
{
34-
return str_replace(array_keys($sources), array_values($targets), $this->messageTemplate);
34+
return str_replace(array_keys($this->messageParameters), array_values($this->messageParameters), $this->messageTemplate);
3535
}
3636

3737
public function getRoot()

0 commit comments

Comments
 (0)
0