Completed
Push — master ( 76a901...5ab4c0 )
by BENOIT
04:54
created
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/Changeset/IterablePropertyChangeset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
      */
64 64
     private function diff(array $a, array $b): array
65 65
     {
66
-        return array_filter($a, function ($item) use ($b) {
66
+        return array_filter($a, function($item) use ($b) {
67 67
             return !in_array($item, $b, true);
68 68
         });
69 69
     }
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
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
      */
78 78
     private function createPropertyListener(string $entityClass, string $property, callable $callback, array $options = []): callable
79 79
     {
80
-        return function (LifecycleEventArgs $eventArgs, string $operationType) use ($entityClass, $property, $callback, $options) {
80
+        return function(LifecycleEventArgs $eventArgs, string $operationType) use ($entityClass, $property, $callback, $options) {
81 81
             $em = $eventArgs->getEntityManager();
82 82
             $unitOfWork = $em->getUnitOfWork();
83 83
             $entity = $eventArgs->getEntity();
Please login to merge, or discard this patch.