Skip to content

Commit 57857d5

Browse files
committed
Fix a minor syntax issue
1 parent c9b77ef commit 57857d5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

security/voters.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -269,11 +269,11 @@ with ``ROLE_SUPER_ADMIN``::
269269
// ...
270270
}
271271

272-
The ``Security::isGranted()`` method inside a voter has a significant
273-
drawback: it does not guarantee that the checks are performed on the same
274-
token as the one in your voter. The token in the token storage might have
275-
changed or could change in the meantime. Always use the ``AccessDecisionManager``
276-
instead.
272+
The ``Security::isGranted()`` method inside a voter has a significant
273+
drawback: it does not guarantee that the checks are performed on the same
274+
token as the one in your voter. The token in the token storage might have
275+
changed or could change in the meantime. Always use the ``AccessDecisionManager``
276+
instead.
277277

278278
If you're using the :ref:`default services.yaml configuration <service-container-services-load-example>`,
279279
you're done! Symfony will automatically pass the ``security.helper``

0 commit comments

Comments
 (0)