Passed
Pull Request — master (#123)
by
unknown
01:58
created
src/Provider/Doctrine/Auditing/Event/DoctrineSubscriber.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 
44 44
         $driver = $entityManager->getConnection()->getDriver();
45 45
         if ($driver instanceof DHDriver) {
46
-            $driver->addDHFlusher(function () use ($transaction): void {
46
+            $driver->addDHFlusher(function() use ($transaction): void {
47 47
                 $this->transactionManager->process($transaction);
48 48
                 $transaction->reset();
49 49
             });
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         trigger_deprecation('damienharper/auditor', '2.2', 'SQLLogger is deprecated. Use DHMiddleware instead');
54 54
         // extend the SQL logger
55 55
         $this->loggerBackup = $entityManager->getConnection()->getConfiguration()->getSQLLogger();
56
-        $auditLogger = new Logger(function () use ($entityManager, $transaction): void {
56
+        $auditLogger = new Logger(function() use ($entityManager, $transaction): void {
57 57
             // flushes pending data
58 58
             $entityManager->getConnection()->getConfiguration()->setSQLLogger($this->loggerBackup);
59 59
             $this->transactionManager->process($transaction);
Please login to merge, or discard this patch.