Skip to content

Commit 09c92fe

Browse files
committed
minor #5685 Fix indentation in some annotations (iamdto)
This PR was merged into the 2.3 branch. Discussion ---------- Fix indentation in some annotations | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | - Commits ------- ca494e4 Fix indentation in some annotations
2 parents 46f0c47 + ca494e4 commit 09c92fe

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

book/validation.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff 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
/**

0 commit comments

Comments
 (0)