Commit ff75c9e0 authored by Robin Cawser's avatar Robin Cawser

Update doc/providers/security.rst

Added closing bracket
parent 39d0c80e
......@@ -296,7 +296,7 @@ Checking User Roles
To check if a user is granted some role, use the ``isGranted()`` method on the
security context::
if ($app['security']->isGranted('ROLE_ADMIN') {
if ($app['security']->isGranted('ROLE_ADMIN')) {
// ...
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment