Skip to content

Commit 2fbf377

Browse files
committed
Merge branch '6.0' into 6.1
* 6.0: Update best_practices.rst
2 parents 1fbd8f7 + 73e5750 commit 2fbf377

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 (or in the ``@Security`` annotation if your
382+
PHP version doesn't support attributes yet).
382383

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

0 commit comments

Comments
 (0)