8000 bug #30273 [Validator] Added missing use statement for UnexpectedType… · symfony/symfony@e0d1b20 · GitHub
[go: up one dir, main page]

Skip to content

Commit e0d1b20

Browse files
author
Robin Chalas
committed
bug #30273 [Validator] Added missing use statement for UnexpectedTypeException (devrck)
This PR was submitted for the master branch but it was merged into the 4.2 branch instead (closes #30273). Discussion ---------- [Validator] Added missing use statement for UnexpectedTypeException | Q | A | ------------- | --- | Branch? | 4.2 (be careful when merging) | Bug fix? | yes | New feature? | no <!-- don't forget to update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files --> | License | MIT <!-- Write a short README entry for your feature/bugfix here (replace this comment block.) This will help people understand your PR and can be used as a start of the Doc PR. Additionally: - Bug fixes must be submitted against the lowest branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too). - Features and deprecations must be submitted against the master branch. --> Added a simple use statement that I saw it was not added, can't elaborate more than that 😄 . Commits ------- d10347f [Validator] Added missing use statement for UnexpectedTypeException
2 parents 37a1302 + d10347f commit e0d1b20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
use Symfony\Component\Validator\Constraint;
1515
use Symfony\Component\Validator\ConstraintValidator;
16+
use Symfony\Component\Validator\Exception\UnexpectedTypeException;
1617
use Symfony\Component\Validator\Exception\UnexpectedValueException;
1718

1819
/**

0 commit comments

Comments
 (0)
0