Skip to content

Commit 29c6ad2

Browse files
committed
Merge branch '5.4' into 6.4
* 5.4: Fix a minor syntax issue
2 parents a1e5f64 + 57857d5 commit 29c6ad2

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
@@ -286,11 +286,11 @@ with ``ROLE_SUPER_ADMIN``::
286286
// ...
287287
}
288288

289-
The ``Security::isGranted()`` method inside a voter has a significant
290-
drawback: it does not guarantee that the checks are performed on the same
291-
token as the one in your voter. The token in the token storage might have
292-
changed or could change in the meantime. Always use the ``AccessDecisionManager``
293-
instead.
289+
The ``Security::isGranted()`` method inside a voter has a significant
290+
drawback: it does not guarantee that the checks are performed on the same
291+
token as the one in your voter. The token in the token storage might have
292+
changed or could change in the meantime. Always use the ``AccessDecisionManager``
293+
instead.
294294

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

0 commit comments

Comments
 (0)