@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Doctrine\Tests\ORM; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
6 | -use Doctrine\Common\Collections\Collection; |
|
7 | 6 | use Doctrine\ORM\PersistentCollection; |
8 | 7 | use Doctrine\ORM\UnitOfWork; |
9 | 8 | use Doctrine\Tests\Mocks\ConnectionMock; |
@@ -169,7 +169,7 @@ discard block |
||
169 | 169 | ->expects(self::once()) |
170 | 170 | ->method('loadCollection') |
171 | 171 | ->with($this->collection) |
172 | - ->willReturnCallback(function (PersistentCollection $persistentCollection) use ($persistedElement) { |
|
172 | + ->willReturnCallback(function(PersistentCollection $persistentCollection) use ($persistedElement) { |
|
173 | 173 | $persistentCollection->unwrap()->add($persistedElement); |
174 | 174 | }); |
175 | 175 | |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | ->expects(self::once()) |
207 | 207 | ->method('loadCollection') |
208 | 208 | ->with($this->collection) |
209 | - ->willReturnCallback(function (PersistentCollection $persistentCollection) use ( |
|
209 | + ->willReturnCallback(function(PersistentCollection $persistentCollection) use ( |
|
210 | 210 | $persistedElement, |
211 | 211 | $newElementThatIsAlsoPersisted |
212 | 212 | ) { |
@@ -248,7 +248,7 @@ discard block |
||
248 | 248 | ->expects(self::once()) |
249 | 249 | ->method('loadCollection') |
250 | 250 | ->with($this->collection) |
251 | - ->willReturnCallback(function (PersistentCollection $persistentCollection) use ( |
|
251 | + ->willReturnCallback(function(PersistentCollection $persistentCollection) use ( |
|
252 | 252 | $persistedElement, |
253 | 253 | $newElementThatIsAlsoPersisted |
254 | 254 | ) { |