Passed
Branch master (aa1d95)
by BENOIT
05:10
created
Category
src/Changeset/ChangesetFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
             $changeset[$fieldName][] = $classMetadata->getReflectionClass()->getDefaultProperties()[$fieldName] ?? null;
61 61
             $changeset[$fieldName][] = $reflectionProperty->getValue($entity);
62 62
         }
63
-        $changeset = array_filter($changeset, function ($changes) {
63
+        $changeset = array_filter($changeset, function($changes) {
64 64
             list($old, $new) = $changes;
65 65
             return $old !== $new;
66 66
         });
Please login to merge, or discard this patch.
src/Watcher/DoctrineWatcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     public function watch(string $entityClass, string $property, callable $callback, array $options = []): void
54 54
     {
55 55
         $options = $options + $this->defaulOptions;
56
-        $listener = function (LifecycleEventArgs $eventArgs) use ($entityClass, $property, $callback, $options) {
56
+        $listener = function(LifecycleEventArgs $eventArgs) use ($entityClass, $property, $callback, $options) {
57 57
             $em = $eventArgs->getEntityManager();
58 58
             $unitOfWork = $em->getUnitOfWork();
59 59
             $entity = $eventArgs->getEntity();
Please login to merge, or discard this patch.