@@ -56,7 +56,7 @@ |
||
56 | 56 | if (!$skipValidation) { |
57 | 57 | $this->validateEntity($entity); |
58 | 58 | } |
59 | - $this->flush($manager, new ArrayCollection([ $entity ])); |
|
59 | + $this->flush($manager, new ArrayCollection([$entity])); |
|
60 | 60 | } |
61 | 61 | |
62 | 62 | protected function flush(ObjectManager $manager, ?ArrayCollection $entities = null): void |