[Validator] removes unused variable in LengthValidator class.
This commit is contained in:
parent
e18a42af49
commit
4d52493b73
@ -39,7 +39,6 @@ class LengthValidator extends ConstraintValidator
|
|||||||
}
|
}
|
||||||
|
|
||||||
$stringValue = (string) $value;
|
$stringValue = (string) $value;
|
||||||
$invalidCharset = false;
|
|
||||||
|
|
||||||
if ('UTF8' === $charset = strtoupper($constraint->charset)) {
|
if ('UTF8' === $charset = strtoupper($constraint->charset)) {
|
||||||
$charset = 'UTF-8'; // iconv on Windows requires "UTF-8" instead of "UTF8"
|
$charset = 'UTF-8'; // iconv on Windows requires "UTF-8" instead of "UTF8"
|
||||||
|
Reference in New Issue
Block a user