diff --git a/doctrine/events.rst b/doctrine/events.rst index 8769c44211d..65f48d46047 100644 --- a/doctrine/events.rst +++ b/doctrine/events.rst @@ -164,7 +164,7 @@ listener in the Symfony application by creating a new service for it and .. configuration-block:: - .. code-block:: attribute + .. code-block:: php-attributes // src/App/EventListener/SearchIndexer.php namespace App\EventListener;