Skip to content

Commit 73e5750

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Update best_practices.rst
2 parents 1fa2ec8 + da844ef commit 73e5750

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)