diff --git a/lock.rst b/lock.rst index 1d4e57da9e3..f37c5fdda9e 100644 --- a/lock.rst +++ b/lock.rst @@ -337,5 +337,5 @@ For example, to select the ``invoice`` lock defined earlier:: .. versionadded:: 7.4 - Before Symfony 7.4, the target name had to include the ``.lock.factory`` - suffix (e.g. ``#[Target('invoice.lock.factory')]``). + Before Symfony 7.4, the target name had to follow the ``lock..factory`` + pattern (e.g. ``#[Target('lock.invoice.factory')]``).