Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d8f0c3f

Browse files
committed
[Validator] Fabbot fix
Not related to the PR
1 parent c73b8f8 commit d8f0c3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Validator/Constraints/RangeValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ private function getLimit($propertyPath, $default, Constraint $constraint)
170170
try {
171171
return $this->getPropertyAccessor()->getValue($object, $propertyPath);
172172
} catch (NoSuchPropertyException $e) {
173-
throw new ConstraintDefinitionException(sprintf('Invalid property path "%s" provided to "%s" constraint: %s.', $propertyPath, \get_class($constraint), $e->getMessage()), 0, $e);
173+
throw new ConstraintDefinitionException(sprintf('Invalid property path "%s" provided to "%s" constraint: "%s".', $propertyPath, \get_class($constraint), $e->getMessage()), 0, $e);
174174
}
175175
}
176176

0 commit comments

Comments
 (0)