File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -729,19 +729,19 @@ user registers and when a user updates their contact information later:
729
729
class User implements UserInterface
730
730
{
731
731
/**
732
- * @Assert\Email(groups={"registration"})
733
- */
732
+ * @Assert\Email(groups={"registration"})
733
+ */
734
734
private $email;
735
735
736
736
/**
737
- * @Assert\NotBlank(groups={"registration"})
738
- * @Assert\Length(min=7, groups={"registration"})
739
- */
737
+ * @Assert\NotBlank(groups={"registration"})
738
+ * @Assert\Length(min=7, groups={"registration"})
739
+ */
740
740
private $password;
741
741
742
742
/**
743
- * @Assert\Length(min=2)
744
- */
743
+ * @Assert\Length(min=2)
744
+ */
745
745
private $city;
746
746
}
747
747
@@ -918,13 +918,13 @@ username and the password are different only if all other validation passes
918
918
class User implements UserInterface
919
919
{
920
920
/**
921
- * @Assert\NotBlank
922
- */
921
+ * @Assert\NotBlank
922
+ */
923
923
private $username;
924
924
925
925
/**
926
- * @Assert\NotBlank
927
- */
926
+ * @Assert\NotBlank
927
+ */
928
928
private $password;
929
929
930
930
/**
You can’t perform that action at this time.
0 commit comments