@@ -48,7 +48,7 @@ |
||
| 48 | 48 | // extend the SQL logger |
| 49 | 49 | $this->loggerBackup = $em->getConnection()->getConfiguration()->getSQLLogger(); |
| 50 | 50 | $loggerChain = new LoggerChain(); |
| 51 | - $loggerChain->addLogger(new AuditLogger(function () use ($em) { |
|
| 51 | + $loggerChain->addLogger(new AuditLogger(function() use ($em) { |
|
| 52 | 52 | // flushes pending data |
| 53 | 53 | $em->getConnection()->getConfiguration()->setSQLLogger($this->loggerBackup); |
| 54 | 54 | $uow = $em->getUnitOfWork(); |
@@ -12,11 +12,11 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | private $configuration; |
| 14 | 14 | |
| 15 | - private $inserted = []; // [$source, $changeset] |
|
| 16 | - private $updated = []; // [$source, $changeset] |
|
| 17 | - private $removed = []; // [$source, $id] |
|
| 18 | - private $associated = []; // [$source, $target, $mapping] |
|
| 19 | - private $dissociated = []; // [$source, $target, $id, $mapping] |
|
| 15 | + private $inserted = []; // [$source, $changeset] |
|
| 16 | + private $updated = []; // [$source, $changeset] |
|
| 17 | + private $removed = []; // [$source, $id] |
|
| 18 | + private $associated = []; // [$source, $target, $mapping] |
|
| 19 | + private $dissociated = []; // [$source, $target, $id, $mapping] |
|
| 20 | 20 | |
| 21 | 21 | /** |
| 22 | 22 | * @var AuditHelper |