Skip to content

Commit 5aba202

Browse files
committed
Merge branch '6.1' into 6.2
* 6.1: Use `::` instead of `.. code-block:: php`
2 parents 044b189 + d07e311 commit 5aba202

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

doctrine/events.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,7 @@ First, define a PHP class that handles the ``postUpdate`` Doctrine event::
256256
}
257257

258258
Then, add the ``#[AsEntityListener]`` attribute to the class to enable it as
259-
a Doctrine entity listener in your application:
260-
261-
.. code-block:: php
259+
a Doctrine entity listener in your application::
262260

263261
// src/EventListener/UserChangedNotifier.php
264262
namespace App\EventListener;

0 commit comments

Comments
 (0)