From 1f2e6e9559395fcb6f6283673c8e405fac6b363a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Egyed?= <1ed@mailbox.hu> Date: Sun, 22 Dec 2013 20:09:23 +0100 Subject: [PATCH] [book/validation] fixed code block formatting --- book/validation.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/book/validation.rst b/book/validation.rst index ac4bacfdbd3..fc343d840fa 100644 --- a/book/validation.rst +++ b/book/validation.rst @@ -117,6 +117,8 @@ constraints. If validation fails, a non-empty list of errors (class :class:`Symfony\\Component\\Validator\\ConstraintViolationList`) is returned. Take this simple example from inside a controller: +.. code-block:: php + // ... use Symfony\Component\HttpFoundation\Response; use Acme\BlogBundle\Entity\Author;