@@ -23,11 +23,11 @@ discard block |
||
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 |
||
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) { |