Skip to content

Commit b909ece

Browse files
authored
Update best_practices.rst
1 parent 66ad276 commit b909ece

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)