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
-------
d10347fb15
[Validator] Added missing use statement for UnexpectedTypeException
This commit is contained in:
commit
e0d1b20b02
@ -13,6 +13,7 @@ namespace Symfony\Component\Validator\Constraints;
|
||||
|
||||
use Symfony\Component\Validator\Constraint;
|
||||
use Symfony\Component\Validator\ConstraintValidator;
|
||||
use Symfony\Component\Validator\Exception\UnexpectedTypeException;
|
||||
use Symfony\Component\Validator\Exception\UnexpectedValueException;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user