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:
729729 class User implements UserInterface
730730 {
731731 /**
732- * @Assert\Email(groups={"registration"})
733- */
732+ * @Assert\Email(groups={"registration"})
733+ */
734734 private $email;
735735
736736 /**
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+ */
740740 private $password;
741741
742742 /**
743- * @Assert\Length(min=2)
744- */
743+ * @Assert\Length(min=2)
744+ */
745745 private $city;
746746 }
747747
@@ -918,13 +918,13 @@ username and the password are different only if all other validation passes
918918 class User implements UserInterface
919919 {
920920 /**
921- * @Assert\NotBlank
922- */
921+ * @Assert\NotBlank
922+ */
923923 private $username;
924924
925925 /**
926- * @Assert\NotBlank
927- */
926+ * @Assert\NotBlank
927+ */
928928 private $password;
929929
930930 /**
You can’t perform that action at this time.
0 commit comments