@@ -400,7 +400,7 @@ discard block |
||
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 |
||
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 |
||
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 |