Skip to content

Commit

Permalink
fix code block syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Oct 20, 2015
1 parent 0ed7d99 commit ab19cfb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion book/controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,9 @@ method to check the CSRF token::

.. versionadded:: 2.6
The ``isCsrfTokenValid()`` shortcut method was introduced in Symfony 2.6.
It is equivalent to executing the following code::
It is equivalent to executing the following code:

.. code-block:: php
use Symfony\Component\Security\Csrf\CsrfToken;
Expand Down

0 comments on commit ab19cfb

Please sign in to comment.