Skip to content

Commit

Permalink
[Fix] Email() constraints now guess as 'email' field type
Browse files Browse the repository at this point in the history
  • Loading branch information
Grégoire Passault committed Aug 16, 2011
1 parent a1810d6 commit 80d1718
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -144,7 +144,7 @@ public function guessTypeForConstraint(Constraint $constraint)
);
case 'Symfony\Component\Validator\Constraints\Email':
return new TypeGuess(
'text',
'email',
array(),
Guess::HIGH_CONFIDENCE
);
Expand Down

0 comments on commit 80d1718

Please sign in to comment.