[Validator] fixed typo
This commit is contained in:
parent
a6caa3d552
commit
1a055fc7f0
@ -31,7 +31,7 @@ class ConstraintViolation
|
||||
|
||||
public function getMessage()
|
||||
{
|
||||
return str_replace(array_keys($sources), array_values($targets), $this->messageTemplate);
|
||||
return str_replace(array_keys($this->messageParameters), array_values($this->messageParameters), $this->messageTemplate);
|
||||
}
|
||||
|
||||
public function getRoot()
|
||||
|
Reference in New Issue
Block a user