Skip to content

Commit ab19cfb

Browse files
committed
fix code block syntax
1 parent 0ed7d99 commit ab19cfb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

book/controller.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,9 @@ method to check the CSRF token::
825825

826826
.. versionadded:: 2.6
827827
The ``isCsrfTokenValid()`` shortcut method was introduced in Symfony 2.6.
828-
It is equivalent to executing the following code::
828+
It is equivalent to executing the following code:
829+
830+
.. code-block:: php
829831
830832
use Symfony\Component\Security\Csrf\CsrfToken;
831833

0 commit comments

Comments
 (0)