@@ -46,7 +46,7 @@ |
||
| 46 | 46 | |
| 47 | 47 | // extend the SQL logger |
| 48 | 48 | $this->loggerBackup = $em->getConnection()->getConfiguration()->getSQLLogger(); |
| 49 | - $auditLogger = new AuditLogger(function () use ($em, $transaction) { |
|
| 49 | + $auditLogger = new AuditLogger(function() use ($em, $transaction) { |
|
| 50 | 50 | // flushes pending data |
| 51 | 51 | $em->getConnection()->getConfiguration()->setSQLLogger($this->loggerBackup); |
| 52 | 52 | |
@@ -27,27 +27,27 @@ |
||
| 27 | 27 | /** |
| 28 | 28 | * @var array |
| 29 | 29 | */ |
| 30 | - private $inserted = []; // [$source, $changeset] |
|
| 30 | + private $inserted = []; // [$source, $changeset] |
|
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | 33 | * @var array |
| 34 | 34 | */ |
| 35 | - private $updated = []; // [$source, $changeset] |
|
| 35 | + private $updated = []; // [$source, $changeset] |
|
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | 38 | * @var array |
| 39 | 39 | */ |
| 40 | - private $removed = []; // [$source, $id] |
|
| 40 | + private $removed = []; // [$source, $id] |
|
| 41 | 41 | |
| 42 | 42 | /** |
| 43 | 43 | * @var array |
| 44 | 44 | */ |
| 45 | - private $associated = []; // [$source, $target, $mapping] |
|
| 45 | + private $associated = []; // [$source, $target, $mapping] |
|
| 46 | 46 | |
| 47 | 47 | /** |
| 48 | 48 | * @var array |
| 49 | 49 | */ |
| 50 | - private $dissociated = []; // [$source, $target, $id, $mapping] |
|
| 50 | + private $dissociated = []; // [$source, $target, $id, $mapping] |
|
| 51 | 51 | |
| 52 | 52 | /** |
| 53 | 53 | * @var EntityManagerInterface |
@@ -90,7 +90,7 @@ |
||
| 90 | 90 | $progressBar = new ProgressBar($output, \count($sqls)); |
| 91 | 91 | $progressBar->start(); |
| 92 | 92 | |
| 93 | - $updater->updateAuditSchema($sqls, static function (array $progress) use ($progressBar) { |
|
| 93 | + $updater->updateAuditSchema($sqls, static function(array $progress) use ($progressBar) { |
|
| 94 | 94 | $progressBar->advance(); |
| 95 | 95 | }); |
| 96 | 96 | |