Failed Conditions
Pull Request — master (#6616)
by Marco
142:17 queued 133:10
created
tests/Doctrine/Tests/ORM/PersistentCollectionTest.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
             ) {
Please login to merge, or discard this patch.