From b909ecefd2958eb8bcbea5eb8d510fa07bae1df3 Mon Sep 17 00:00:00 2001 From: Antoine Makdessi Date: Tue, 28 Dec 2021 16:48:03 +0100 Subject: [PATCH] Update best_practices.rst --- best_practices.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/best_practices.rst b/best_practices.rst index f18c756c2fc..537bdc4637f 100644 --- a/best_practices.rst +++ b/best_practices.rst @@ -378,7 +378,8 @@ Use Voters to Implement Fine-grained Security Restrictions If your security logic is complex, you should create custom :doc:`security voters ` instead of defining long expressions -inside the ``@Security`` annotation. +inside the ``Security`` attribute +(or annotation if your PHP version doesn't support attributes yet). Web Assets ----------