[Validator] removes unused variable in LengthValidator class.

This commit is contained in:
Hugo Hamon 2015-12-10 09:10:18 +01:00
parent e18a42af49
commit 4d52493b73
1 changed files with 0 additions and 1 deletions

View File

@ -39,7 +39,6 @@ class LengthValidator extends ConstraintValidator
}
$stringValue = (string) $value;
$invalidCharset = false;
if ('UTF8' === $charset = strtoupper($constraint->charset)) {
$charset = 'UTF-8'; // iconv on Windows requires "UTF-8" instead of "UTF8"