From ca494e4cebcddc1c3ccd2ffcfe07d17046739558 Mon Sep 17 00:00:00 2001 From: Denis Togbe Date: Wed, 9 Sep 2015 20:25:56 +0100 Subject: [PATCH] Fix indentation in some annotations --- book/validation.rst | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/book/validation.rst b/book/validation.rst index ac03fc8f5fc..13df091eb55 100644 --- a/book/validation.rst +++ b/book/validation.rst @@ -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; } @@ -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; /**