Skip to content

Commit

Permalink
Fix indentation in some annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdto committed Sep 9, 2015
1 parent 17bb0fc commit ca494e4
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions book/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -729,19 +729,19 @@ user registers and when a user updates their contact information later:
class User implements UserInterface
{
/**
* @Assert\Email(groups={"registration"})
*/
* @Assert\Email(groups={"registration"})
*/
private $email;
/**
* @Assert\NotBlank(groups={"registration"})
* @Assert\Length(min=7, groups={"registration"})
*/
* @Assert\NotBlank(groups={"registration"})
* @Assert\Length(min=7, groups={"registration"})
*/
private $password;
/**
* @Assert\Length(min=2)
*/
* @Assert\Length(min=2)
*/
private $city;
}
Expand Down Expand Up @@ -918,13 +918,13 @@ username and the password are different only if all other validation passes
class User implements UserInterface
{
/**
* @Assert\NotBlank
*/
* @Assert\NotBlank
*/
private $username;
/**
* @Assert\NotBlank
*/
* @Assert\NotBlank
*/
private $password;
/**
Expand Down

0 comments on commit ca494e4

Please sign in to comment.