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 4a073e6

Browse filesBrowse files
committed
[Form] Fixed duplicate case expression
1 parent d13907b commit 4a073e6
Copy full SHA for 4a073e6

File tree

1 file changed

+0
-6
lines changed
Filter options

1 file changed

+0
-6
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Extension/Validator/ValidatorTypeGuesser.php
-6Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.