Skip to content

Commit 83c2a3e

Browse files
committed
minor #16341 Update best_practices.rst (94noni)
This PR was merged into the 5.4 branch. Discussion ---------- Update best_practices.rst Commits ------- b909ece Update best_practices.rst
2 parents 66ad276 + b909ece commit 83c2a3e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

best_practices.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,8 @@ Use Voters to Implement Fine-grained Security Restrictions
378378

379379
If your security logic is complex, you should create custom
380380
:doc:`security voters </security/voters>` instead of defining long expressions
381-
inside the ``@Security`` annotation.
381+
inside the ``Security`` attribute
382+
(or annotation if your PHP version doesn't support attributes yet).
382383

383384
Web Assets
384385
----------

0 commit comments

Comments
 (0)