Passed
Branch master (66a821)
by Damien
04:03
created
Category
src/DoctrineAuditBundle/EventSubscriber/AuditSubscriber.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -23,11 +23,11 @@  discard block
 block discarded – undo
23 23
      */
24 24
     private $loggerBackup;
25 25
 
26
-    private $inserted = [];     // [$source, $changeset]
27
-    private $updated = [];      // [$source, $changeset]
28
-    private $removed = [];      // [$source, $id]
29
-    private $associated = [];   // [$source, $target, $mapping]
30
-    private $dissociated = [];  // [$source, $target, $id, $mapping]
26
+    private $inserted = []; // [$source, $changeset]
27
+    private $updated = []; // [$source, $changeset]
28
+    private $removed = []; // [$source, $id]
29
+    private $associated = []; // [$source, $target, $mapping]
30
+    private $dissociated = []; // [$source, $target, $id, $mapping]
31 31
 
32 32
     public function __construct(AuditConfiguration $configuration)
33 33
     {
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
         // extend the SQL logger
77 77
         $this->loggerBackup = $em->getConnection()->getConfiguration()->getSQLLogger();
78 78
         $loggerChain = new LoggerChain();
79
-        $loggerChain->addLogger(new AuditLogger(function () use ($em) {
79
+        $loggerChain->addLogger(new AuditLogger(function() use ($em) {
80 80
             $this->flush($em);
81 81
         }));
82 82
         if ($this->loggerBackup instanceof SQLLogger) {
Please login to merge, or discard this patch.