Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4d52493

Browse filesBrowse files
author
Hugo Hamon
committed
[Validator] removes unused variable in LengthValidator class.
1 parent e18a42a commit 4d52493
Copy full SHA for 4d52493

File tree

Expand file treeCollapse file tree

1 file changed

+0
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-1
lines changed

‎src/Symfony/Component/Validator/Constraints/LengthValidator.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Constraints/LengthValidator.php
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ public function validate($value, Constraint $constraint)
3939
}
4040

4141
$stringValue = (string) $value;
42-
$invalidCharset = false;
4342

4443
if ('UTF8' === $charset = strtoupper($constraint->charset)) {
4544
$charset = 'UTF-8'; // iconv on Windows requires "UTF-8" instead of "UTF8"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.