@@ -179,7 +179,7 @@ |
||
| 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 | } |
@@ -51,7 +51,7 @@ |
||
| 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 | }); |