Completed
Push — 2.6 ( 7e26d8...48bfef )
by Luís
11:42 queued 05:19
created
lib/Doctrine/ORM/PersistentCollection.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -400,7 +400,7 @@  discard block
 block discarded – undo
400 400
      */
401 401
     public function containsKey($key)
402 402
     {
403
-        if (! $this->initialized && $this->association['fetch'] === ClassMetadata::FETCH_EXTRA_LAZY
403
+        if ( ! $this->initialized && $this->association['fetch'] === ClassMetadata::FETCH_EXTRA_LAZY
404 404
             && isset($this->association['indexBy'])) {
405 405
             $persister = $this->em->getUnitOfWork()->getCollectionPersister($this->association);
406 406
 
@@ -433,7 +433,7 @@  discard block
 block discarded – undo
433 433
             && $this->association['fetch'] === ClassMetadata::FETCH_EXTRA_LAZY
434 434
             && isset($this->association['indexBy'])
435 435
         ) {
436
-            if (!$this->typeClass->isIdentifierComposite && $this->typeClass->isIdentifier($this->association['indexBy'])) {
436
+            if ( ! $this->typeClass->isIdentifierComposite && $this->typeClass->isIdentifier($this->association['indexBy'])) {
437 437
                 return $this->em->find($this->typeClass->name, $key);
438 438
             }
439 439
 
@@ -566,7 +566,7 @@  discard block
 block discarded – undo
566 566
         if ($this->association['isOwningSide'] && $this->owner) {
567 567
             $this->changed();
568 568
 
569
-            if (! $this->em->getClassMetadata(get_class($this->owner))->isChangeTrackingDeferredExplicit()) {
569
+            if ( ! $this->em->getClassMetadata(get_class($this->owner))->isChangeTrackingDeferredExplicit()) {
570 570
                 $uow->scheduleCollectionDeletion($this);
571 571
             }
572 572
 
Please login to merge, or discard this patch.