From 3f37b8d2606ba4571c2d4ea3779025b747bf35d5 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Tue, 3 May 2022 15:27:19 +0200 Subject: [PATCH] [Docs] Fix some syntax issues in code blocks --- Resources/doc/entity-listeners.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Resources/doc/entity-listeners.rst b/Resources/doc/entity-listeners.rst index 4b79aeb54..5a6c90a54 100644 --- a/Resources/doc/entity-listeners.rst +++ b/Resources/doc/entity-listeners.rst @@ -11,7 +11,7 @@ Full example: .. configuration-block:: - .. code-block:: annotation + .. code-block:: php-annotations @@ -88,6 +89,7 @@ definition: entity_manager: custom # method attribute is optional method: validateEmail + .. code-block:: xml @@ -119,7 +121,6 @@ See also https://www.doctrine-project.org/projects/doctrine-orm/en/latest/reference/events.html#entity-listeners for more info on entity listeners and the resolver required by Symfony. - Lazy Entity Listeners ---------------------