@@ -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 |
@@ -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): void { |
|
49 | + $auditLogger = new AuditLogger(function() use ($em, $transaction): void { |
|
50 | 50 | // flushes pending data |
51 | 51 | $em->getConnection()->getConfiguration()->setSQLLogger($this->loggerBackup); |
52 | 52 | $this->manager->process($transaction); |
@@ -100,7 +100,7 @@ |
||
100 | 100 | $progressBar = new ProgressBar($output, \count($sqls)); |
101 | 101 | $progressBar->start(); |
102 | 102 | |
103 | - $updater->updateAuditSchema($sqls, static function (array $progress) use ($progressBar): void { |
|
103 | + $updater->updateAuditSchema($sqls, static function(array $progress) use ($progressBar): void { |
|
104 | 104 | $progressBar->advance(); |
105 | 105 | }); |
106 | 106 |