Completed
Push — master ( 48ad47...c8e5f0 )
by BENOIT
03:00
created
src/Changeset/PropertyChangeset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -179,7 +179,7 @@
 block discarded – undo
179 179
      */
180 180
     private function diff(array $a, array $b): array
181 181
     {
182
-        return \array_filter($a, function ($item) use ($b) {
182
+        return \array_filter($a, function($item) use ($b) {
183 183
             return !\in_array($item, $b, true);
184 184
         });
185 185
     }
Please login to merge, or discard this patch.
src/Changeset/ChangesetFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
             $changeset[$fieldName][] = $classMetadata->getReflectionClass()->getDefaultProperties()[$fieldName] ?? null;
52 52
             $changeset[$fieldName][] = $reflectionProperty->getValue($entity);
53 53
         }
54
-        $changeset = \array_filter($changeset, function ($changes) {
54
+        $changeset = \array_filter($changeset, function($changes) {
55 55
             list($old, $new) = $changes;
56 56
             return $old !== $new;
57 57
         });
Please login to merge, or discard this patch.