@@ -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) { |
@@ -17,7 +17,7 @@ |
||
17 | 17 | { |
18 | 18 | $class = \is_object($subject) ? \get_class($subject) : $subject; |
19 | 19 | |
20 | - if (false === $pos = strrpos($class, '\\' . Proxy::MARKER . '\\')) { |
|
20 | + if (false === $pos = strrpos($class, '\\'.Proxy::MARKER.'\\')) { |
|
21 | 21 | return $class; |
22 | 22 | } |
23 | 23 |