From 5756c45f9b25bc333f3d74523a754a19c6116aea Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Thu, 6 Apr 2023 14:54:48 +0200 Subject: [PATCH] Fix the order of code statements in the code snippet This will make the doctor-rst CI job green again. --- doctrine/events.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doctrine/events.rst b/doctrine/events.rst index 465cd967e77..1e0fedfd00c 100644 --- a/doctrine/events.rst +++ b/doctrine/events.rst @@ -424,10 +424,10 @@ want to log all the database activity. To do so, define a subscriber for the use App\Entity\Product; use Doctrine\Bundle\DoctrineBundle\EventSubscriber\EventSubscriberInterface; - use Doctrine\ORM\Events; use Doctrine\ORM\Event\PostPersistEventArgs; use Doctrine\ORM\Event\PostRemoveEventArgs; use Doctrine\ORM\Event\PostUpdateEventArgs; + use Doctrine\ORM\Events; class DatabaseActivitySubscriber implements EventSubscriberInterface {