Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4a073e6

Browse files
committed
[Form] Fixed duplicate case expression
1 parent d13907b commit 4a073e6

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Symfony/Component/Form/Extension/Validator/ValidatorTypeGuesser.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -165,12 +165,6 @@ public function guessTypeForConstraint(Constraint $constraint)
165165
case 'Symfony\Component\Validator\Constraints\MaxCount':
166166
return new TypeGuess('collection', array(), Guess::LOW_CONFIDENCE);
167167

168-
case 'Symfony\Component\Validator\Constraints\Time':
169-
return new TypeGuess('time', array('input'=>'string'), Guess::HIGH_CONFIDENCE);
170-
171-
case 'Symfony\Component\Validator\Constraints\Url':
172-
return new TypeGuess('url', array(), Guess::HIGH_CONFIDENCE);
173-
174168
case 'Symfony\Component\Validator\Constraints\True':
175169
case 'Symfony\Component\Validator\Constraints\False':
176170
return new TypeGuess('checkbox', array(), Guess::MEDIUM_CONFIDENCE);

0 commit comments

Comments
 (0)