8000 minor #11656 [Validator] Fix little typo in ExecutionContextInterface… · symfony/symfony@1ce0ad5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1ce0ad5

Browse files
committed
minor #11656 [Validator] Fix little typo in ExecutionContextInterface::buildViolation() method comments (Lctrs)
This PR was merged into the 2.5 branch. Discussion ---------- [Validator] Fix little typo in ExecutionContextInterface::buildViolation() method comments | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Commits ------- b8c0a12 [Validator] Fix little typo in ExecutionContextInterface::buildViolation() method comments
2 parents 7283483 + b8c0a12 commit 1ce0ad5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Validator/Context/ExecutionContextInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ interface ExecutionContextInterface extends LegacyExecutionContextInterface
6666
* Call {@link ConstraintViolationBuilderInterface::addViolation()} to
6767
* add the violation when you're done with the configuration:
6868
*
69-
* $context->buildViolation('Please enter a number between %min% and %max.')
69+
* $context->buildViolation('Please enter a number between %min% and %max%.')
7070
* ->setParameter('%min%', 3)
7171
* ->setParameter('%max%', 10)
7272
* ->setTranslationDomain('number_validation')

0 commit comments

Comments
 (0)
0