Skip to content

Commit 7f8f90a

Browse files
committed
Fixed code examples in book/security
1 parent 4496d51 commit 7f8f90a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

book/security.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,8 +814,8 @@ authorization from inside a controller:
814814

815815
.. code-block:: php
816816
817-
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
818817
// ...
818+
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
819819
820820
public function helloAction($name)
821821
{
@@ -833,6 +833,7 @@ which can secure your controller using annotations:
833833

834834
.. code-block:: php
835835
836+
// ...
836837
use JMS\SecurityExtraBundle\Annotation\Secure;
837838
838839
/**

0 commit comments

Comments
 (0)