Completed
Push — master ( 8c49ba...116244 )
by Marco
08:35
created
lib/Doctrine/ORM/Mapping/Builder/ClassMetadataBuilder.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
      */
151 151
     public function addIndex(array $columns, $name)
152 152
     {
153
-        if (!isset($this->cm->table['indexes'])) {
153
+        if ( ! isset($this->cm->table['indexes'])) {
154 154
             $this->cm->table['indexes'] = array();
155 155
         }
156 156
 
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
     /**
144 144
      * Adds Index.
145 145
      *
146
-     * @param array  $columns
146
+     * @param string[]  $columns
147 147
      * @param string $name
148 148
      *
149 149
      * @return ClassMetadataBuilder
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
     /**
163 163
      * Adds Unique Constraint.
164 164
      *
165
-     * @param array  $columns
165
+     * @param string[]  $columns
166 166
      * @param string $name
167 167
      *
168 168
      * @return ClassMetadataBuilder
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      */
106 106
     protected function onNotFoundMetadata($className)
107 107
     {
108
-        if (! $this->evm->hasListeners(Events::onClassMetadataNotFound)) {
108
+        if ( ! $this->evm->hasListeners(Events::onClassMetadataNotFound)) {
109 109
             return;
110 110
         }
111 111
 
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
             $this->completeIdGeneratorMapping($class);
163 163
         }
164 164
 
165
-        if (!$class->isMappedSuperclass) {
165
+        if ( ! $class->isMappedSuperclass) {
166 166
             foreach ($class->embeddedClasses as $property => $embeddableClass) {
167 167
 
168 168
                 if (isset($embeddableClass['inherited'])) {
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
 
188 188
                 $identifier = $embeddableMetadata->getIdentifier();
189 189
 
190
-                if (! empty($identifier)) {
190
+                if ( ! empty($identifier)) {
191 191
                     $this->inheritIdGeneratorMapping($class, $embeddableMetadata);
192 192
                 }
193 193
 
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
      */
258 258
     protected function validateRuntimeMetadata($class, $parent)
259 259
     {
260
-        if ( ! $class->reflClass ) {
260
+        if ( ! $class->reflClass) {
261 261
             // only validate if there is a reflection class instance
262 262
             return;
263 263
         }
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
         $class->validateLifecycleCallbacks($this->getReflectionService());
268 268
 
269 269
         // verify inheritance
270
-        if ( ! $class->isMappedSuperclass && !$class->isInheritanceTypeNone()) {
270
+        if ( ! $class->isMappedSuperclass && ! $class->isInheritanceTypeNone()) {
271 271
             if ( ! $parent) {
272 272
                 if (count($class->discriminatorMap) == 0) {
273 273
                     throw MappingException::missingDiscriminatorMap($class->name);
@@ -428,7 +428,7 @@  discard block
 block discarded – undo
428 428
     {
429 429
         foreach ($parentClass->associationMappings as $field => $mapping) {
430 430
             if ($parentClass->isMappedSuperclass) {
431
-                if ($mapping['type'] & ClassMetadata::TO_MANY && !$mapping['isOwningSide']) {
431
+                if ($mapping['type'] & ClassMetadata::TO_MANY && ! $mapping['isOwningSide']) {
432 432
                     throw MappingException::illegalToManyAssociationOnMappedSuperclass($parentClass->name, $field);
433 433
                 }
434 434
                 $mapping['sourceEntity'] = $subClass->name;
@@ -476,11 +476,11 @@  discard block
 block discarded – undo
476 476
             $embeddableMetadata = $this->getMetadataFor($embeddableClass['class']);
477 477
 
478 478
             $parentClass->mapEmbedded(array(
479
-                'fieldName' => $prefix . '.' . $property,
479
+                'fieldName' => $prefix.'.'.$property,
480 480
                 'class' => $embeddableMetadata->name,
481 481
                 'columnPrefix' => $embeddableClass['columnPrefix'],
482 482
                 'declaredField' => $embeddableClass['declaredField']
483
-                        ? $prefix . '.' . $embeddableClass['declaredField']
483
+                        ? $prefix.'.'.$embeddableClass['declaredField']
484 484
                         : $prefix,
485 485
                 'originalField' => $embeddableClass['originalField'] ?: $property,
486 486
             ));
@@ -497,7 +497,7 @@  discard block
 block discarded – undo
497 497
      */
498 498
     private function addInheritedIndexes(ClassMetadata $subClass, ClassMetadata $parentClass)
499 499
     {
500
-        if (! $parentClass->isMappedSuperclass) {
500
+        if ( ! $parentClass->isMappedSuperclass) {
501 501
             return;
502 502
         }
503 503
 
@@ -696,14 +696,14 @@  discard block
 block discarded – undo
696 696
             case ClassMetadata::GENERATOR_TYPE_CUSTOM:
697 697
                 $definition = $class->customGeneratorDefinition;
698 698
                 if ( ! class_exists($definition['class'])) {
699
-                    throw new ORMException("Can't instantiate custom generator : " .
699
+                    throw new ORMException("Can't instantiate custom generator : ".
700 700
                         $definition['class']);
701 701
                 }
702 702
                 $class->setIdGenerator(new $definition['class']);
703 703
                 break;
704 704
 
705 705
             default:
706
-                throw new ORMException("Unknown generator type: " . $class->generatorType);
706
+                throw new ORMException("Unknown generator type: ".$class->generatorType);
707 707
         }
708 708
     }
709 709
 
@@ -753,7 +753,7 @@  discard block
 block discarded – undo
753 753
      */
754 754
     protected function getFqcnFromAlias($namespaceAlias, $simpleClassName)
755 755
     {
756
-        return $this->em->getConfiguration()->getEntityNamespace($namespaceAlias) . '\\' . $simpleClassName;
756
+        return $this->em->getConfiguration()->getEntityNamespace($namespaceAlias).'\\'.$simpleClassName;
757 757
     }
758 758
 
759 759
     /**
@@ -777,7 +777,7 @@  discard block
 block discarded – undo
777 777
      */
778 778
     private function getTargetPlatform()
779 779
     {
780
-        if (!$this->targetPlatform) {
780
+        if ( ! $this->targetPlatform) {
781 781
             $this->targetPlatform = $this->em->getConnection()->getDatabasePlatform();
782 782
         }
783 783
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Mapping/DefaultEntityListenerResolver.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     public function resolve($className)
68 68
     {
69 69
         if (isset($this->instances[$className = trim($className, '\\')])) {
70
-           return $this->instances[$className];
70
+            return $this->instances[$className];
71 71
         }
72 72
 
73 73
         return $this->instances[$className] = new $className();
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Cache/Persister/Collection/AbstractCollectionPersister.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -41,9 +41,9 @@  discard block
 block discarded – undo
41 41
  */
42 42
 abstract class AbstractEntityPersister implements CachedEntityPersister
43 43
 {
44
-     /**
45
-     * @var \Doctrine\ORM\UnitOfWork
46
-     */
44
+        /**
45
+         * @var \Doctrine\ORM\UnitOfWork
46
+         */
47 47
     protected $uow;
48 48
 
49 49
     /**
@@ -61,9 +61,9 @@  discard block
 block discarded – undo
61 61
      */
62 62
     protected $class;
63 63
 
64
-     /**
65
-     * @var array
66
-     */
64
+        /**
65
+         * @var array
66
+         */
67 67
     protected $queuedCache = array();
68 68
 
69 69
     /**
Please login to merge, or discard this patch.
ORM/Cache/Persister/Collection/ReadOnlyCachedCollectionPersister.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -715,9 +715,9 @@
 block discarded – undo
715 715
         );
716 716
     }
717 717
 
718
-     /**
719
-     * {@inheritdoc}
720
-     */
718
+        /**
719
+         * {@inheritdoc}
720
+         */
721 721
     protected function getHash()
722 722
     {
723 723
         return sha1(parent::getHash(). '-'. $this->_firstResult . '-' . $this->_maxResults);
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Tools/Console/Command/ConvertMappingCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -220,7 +220,7 @@
 block discarded – undo
220 220
             $exporter->setMetadata($metadata);
221 221
             $exporter->export();
222 222
 
223
-            $output->writeln(PHP_EOL . sprintf(
223
+            $output->writeln(PHP_EOL.sprintf(
224 224
                 'Converting Doctrine 1.X schema to "<info>%s</info>" mapping type in "<info>%s</info>"', $toType, $destPath
225 225
             ));
226 226
         } else {
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/Expr/GroupBy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     /**
34 34
      * @var string
35 35
      */
36
-    protected $preSeparator  = '';
36
+    protected $preSeparator = '';
37 37
 
38 38
     /**
39 39
      * @var string
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Tools/Pagination/Paginator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
     /**
58 58
      * Constructor.
59 59
      *
60
-     * @param Query|QueryBuilder $query               A Doctrine ORM query or query builder.
60
+     * @param Query $query               A Doctrine ORM query or query builder.
61 61
      * @param boolean            $fetchJoinCollection Whether the query joins a collection (true by default).
62 62
      */
63 63
     public function __construct($query, $fetchJoinCollection = true)
Please login to merge, or discard this patch.
lib/Doctrine/ORM/UnitOfWork.php 3 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1237,7 +1237,7 @@  discard block
 block discarded – undo
1237 1237
     /**
1238 1238
      * Schedules an entity for being updated.
1239 1239
      *
1240
-     * @param object $entity The entity to schedule for being updated.
1240
+     * @param \Doctrine\Tests\Models\Forum\ForumUser $entity The entity to schedule for being updated.
1241 1241
      *
1242 1242
      * @return void
1243 1243
      *
@@ -1305,7 +1305,7 @@  discard block
 block discarded – undo
1305 1305
     /**
1306 1306
      * Checks whether an entity is registered to be checked in the unit of work.
1307 1307
      *
1308
-     * @param object $entity
1308
+     * @param \Doctrine\Tests\ORM\NotifyChangedEntity $entity
1309 1309
      *
1310 1310
      * @return boolean
1311 1311
      */
@@ -3121,7 +3121,7 @@  discard block
 block discarded – undo
3121 3121
      *
3122 3122
      * @param object $entity       The entity that owns the property.
3123 3123
      * @param string $propertyName The name of the property that changed.
3124
-     * @param mixed  $oldValue     The old value of the property.
3124
+     * @param null|integer  $oldValue     The old value of the property.
3125 3125
      * @param mixed  $newValue     The new value of the property.
3126 3126
      *
3127 3127
      * @return void
@@ -3321,7 +3321,7 @@  discard block
 block discarded – undo
3321 3321
     /**
3322 3322
      * Verifies if two given entities actually are the same based on identifier comparison
3323 3323
      *
3324
-     * @param object $entity1
3324
+     * @param Proxy $entity1
3325 3325
      * @param object $entity2
3326 3326
      *
3327 3327
      * @return bool
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@  discard block
 block discarded – undo
26 26
 use Exception;
27 27
 use InvalidArgumentException;
28 28
 use UnexpectedValueException;
29
-
30 29
 use Doctrine\Common\Collections\ArrayCollection;
31 30
 use Doctrine\Common\Collections\Collection;
32 31
 use Doctrine\Common\NotifyPropertyChanged;
@@ -34,14 +33,12 @@  discard block
 block discarded – undo
34 33
 use Doctrine\Common\Persistence\ObjectManagerAware;
35 34
 use Doctrine\ORM\Mapping\ClassMetadata;
36 35
 use Doctrine\ORM\Proxy\Proxy;
37
-
38 36
 use Doctrine\ORM\Event\LifecycleEventArgs;
39 37
 use Doctrine\ORM\Event\PreUpdateEventArgs;
40 38
 use Doctrine\ORM\Event\PreFlushEventArgs;
41 39
 use Doctrine\ORM\Event\OnFlushEventArgs;
42 40
 use Doctrine\ORM\Event\PostFlushEventArgs;
43 41
 use Doctrine\ORM\Event\ListenersInvoker;
44
-
45 42
 use Doctrine\ORM\Cache\Persister\CachedPersister;
46 43
 use Doctrine\ORM\Persisters\Entity\BasicEntityPersister;
47 44
 use Doctrine\ORM\Persisters\Entity\SingleTablePersister;
Please login to merge, or discard this patch.
Spacing   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -463,7 +463,7 @@  discard block
 block discarded – undo
463 463
         $state = $this->getEntityState($entity);
464 464
 
465 465
         if ($state !== self::STATE_MANAGED && $state !== self::STATE_REMOVED) {
466
-            throw new \InvalidArgumentException("Entity has to be managed or scheduled for removal for single computation " . self::objToStr($entity));
466
+            throw new \InvalidArgumentException("Entity has to be managed or scheduled for removal for single computation ".self::objToStr($entity));
467 467
         }
468 468
 
469 469
         $class = $this->em->getClassMetadata(get_class($entity));
@@ -519,7 +519,7 @@  discard block
 block discarded – undo
519 519
         $oid  = spl_object_hash($entity);
520 520
         $data = array();
521 521
 
522
-        if (!isset($this->entityChangeSets[$oid])) {
522
+        if ( ! isset($this->entityChangeSets[$oid])) {
523 523
             return $data;
524 524
         }
525 525
 
@@ -682,7 +682,7 @@  discard block
 block discarded – undo
682 682
                     if ($owner === null) { // cloned
683 683
                         $actualValue->setOwner($entity, $assoc);
684 684
                     } else if ($owner !== $entity) { // no clone, we have to fix
685
-                        if (!$actualValue->isInitialized()) {
685
+                        if ( ! $actualValue->isInitialized()) {
686 686
                             $actualValue->initialize(); // we have to do this otherwise the cols share state
687 687
                         }
688 688
                         $newValue = clone $actualValue;
@@ -828,7 +828,7 @@  discard block
 block discarded – undo
828 828
         $targetClass    = $this->em->getClassMetadata($assoc['targetEntity']);
829 829
 
830 830
         foreach ($unwrappedValue as $key => $entry) {
831
-            if (! ($entry instanceof $targetClass->name)) {
831
+            if ( ! ($entry instanceof $targetClass->name)) {
832 832
                 throw ORMInvalidArgumentException::invalidAssociation($targetClass, $assoc, $entry);
833 833
             }
834 834
 
@@ -1687,7 +1687,7 @@  discard block
 block discarded – undo
1687 1687
                 throw ORMInvalidArgumentException::detachedEntityCannot($entity, "persisted");
1688 1688
 
1689 1689
             default:
1690
-                throw new UnexpectedValueException("Unexpected entity state: $entityState." . self::objToStr($entity));
1690
+                throw new UnexpectedValueException("Unexpected entity state: $entityState.".self::objToStr($entity));
1691 1691
         }
1692 1692
 
1693 1693
         $this->cascadePersist($entity, $visited);
@@ -1757,7 +1757,7 @@  discard block
 block discarded – undo
1757 1757
             case self::STATE_DETACHED:
1758 1758
                 throw ORMInvalidArgumentException::detachedEntityCannot($entity, "removed");
1759 1759
             default:
1760
-                throw new UnexpectedValueException("Unexpected entity state: $entityState." . self::objToStr($entity));
1760
+                throw new UnexpectedValueException("Unexpected entity state: $entityState.".self::objToStr($entity));
1761 1761
         }
1762 1762
 
1763 1763
     }
@@ -1908,7 +1908,7 @@  discard block
 block discarded – undo
1908 1908
      */
1909 1909
     private function isLoaded($entity)
1910 1910
     {
1911
-        return !($entity instanceof Proxy) || $entity->__isInitialized();
1911
+        return ! ($entity instanceof Proxy) || $entity->__isInitialized();
1912 1912
     }
1913 1913
 
1914 1914
     /**
@@ -2066,7 +2066,7 @@  discard block
 block discarded – undo
2066 2066
 
2067 2067
         $associationMappings = array_filter(
2068 2068
             $class->associationMappings,
2069
-            function ($assoc) { return $assoc['isCascadeRefresh']; }
2069
+            function($assoc) { return $assoc['isCascadeRefresh']; }
2070 2070
         );
2071 2071
 
2072 2072
         foreach ($associationMappings as $assoc) {
@@ -2109,7 +2109,7 @@  discard block
 block discarded – undo
2109 2109
 
2110 2110
         $associationMappings = array_filter(
2111 2111
             $class->associationMappings,
2112
-            function ($assoc) { return $assoc['isCascadeDetach']; }
2112
+            function($assoc) { return $assoc['isCascadeDetach']; }
2113 2113
         );
2114 2114
 
2115 2115
         foreach ($associationMappings as $assoc) {
@@ -2153,7 +2153,7 @@  discard block
 block discarded – undo
2153 2153
 
2154 2154
         $associationMappings = array_filter(
2155 2155
             $class->associationMappings,
2156
-            function ($assoc) { return $assoc['isCascadeMerge']; }
2156
+            function($assoc) { return $assoc['isCascadeMerge']; }
2157 2157
         );
2158 2158
 
2159 2159
         foreach ($associationMappings as $assoc) {
@@ -2192,7 +2192,7 @@  discard block
 block discarded – undo
2192 2192
 
2193 2193
         $associationMappings = array_filter(
2194 2194
             $class->associationMappings,
2195
-            function ($assoc) { return $assoc['isCascadePersist']; }
2195
+            function($assoc) { return $assoc['isCascadePersist']; }
2196 2196
         );
2197 2197
 
2198 2198
         foreach ($associationMappings as $assoc) {
@@ -2221,7 +2221,7 @@  discard block
 block discarded – undo
2221 2221
                     break;
2222 2222
 
2223 2223
                 case ($relatedEntities !== null):
2224
-                    if (! $relatedEntities instanceof $assoc['targetEntity']) {
2224
+                    if ( ! $relatedEntities instanceof $assoc['targetEntity']) {
2225 2225
                         throw ORMInvalidArgumentException::invalidAssociation(
2226 2226
                             $this->em->getClassMetadata($assoc['targetEntity']),
2227 2227
                             $assoc,
@@ -2252,13 +2252,13 @@  discard block
 block discarded – undo
2252 2252
 
2253 2253
         $associationMappings = array_filter(
2254 2254
             $class->associationMappings,
2255
-            function ($assoc) { return $assoc['isCascadeRemove']; }
2255
+            function($assoc) { return $assoc['isCascadeRemove']; }
2256 2256
         );
2257 2257
 
2258 2258
         $entitiesToCascade = array();
2259 2259
 
2260 2260
         foreach ($associationMappings as $assoc) {
2261
-            if ($entity instanceof Proxy && !$entity->__isInitialized__) {
2261
+            if ($entity instanceof Proxy && ! $entity->__isInitialized__) {
2262 2262
                 $entity->__load();
2263 2263
             }
2264 2264
 
@@ -2322,7 +2322,7 @@  discard block
 block discarded – undo
2322 2322
                     return;
2323 2323
                 }
2324 2324
 
2325
-                if ($entity instanceof Proxy && !$entity->__isInitialized__) {
2325
+                if ($entity instanceof Proxy && ! $entity->__isInitialized__) {
2326 2326
                     $entity->__load();
2327 2327
                 }
2328 2328
 
@@ -2337,7 +2337,7 @@  discard block
 block discarded – undo
2337 2337
             case LockMode::NONE === $lockMode:
2338 2338
             case LockMode::PESSIMISTIC_READ === $lockMode:
2339 2339
             case LockMode::PESSIMISTIC_WRITE === $lockMode:
2340
-                if (!$this->em->getConnection()->isTransactionActive()) {
2340
+                if ( ! $this->em->getConnection()->isTransactionActive()) {
2341 2341
                     throw TransactionRequiredException::transactionRequired();
2342 2342
                 }
2343 2343
 
@@ -2673,7 +2673,7 @@  discard block
 block discarded – undo
2673 2673
                             // then we can append this entity for eager loading!
2674 2674
                             if ($hints['fetchMode'][$class->name][$field] == ClassMetadata::FETCH_EAGER &&
2675 2675
                                 isset($hints[self::HINT_DEFEREAGERLOAD]) &&
2676
-                                !$targetClass->isIdentifierComposite &&
2676
+                                ! $targetClass->isIdentifierComposite &&
2677 2677
                                 $newValue instanceof Proxy &&
2678 2678
                                 $newValue->__isInitialized__ === false) {
2679 2679
 
@@ -2985,7 +2985,7 @@  discard block
 block discarded – undo
2985 2985
      */
2986 2986
     public function size()
2987 2987
     {
2988
-        $countArray = array_map(function ($item) { return count($item); }, $this->identityMap);
2988
+        $countArray = array_map(function($item) { return count($item); }, $this->identityMap);
2989 2989
 
2990 2990
         return array_sum($countArray);
2991 2991
     }
@@ -3044,7 +3044,7 @@  discard block
 block discarded – undo
3044 3044
     public function getCollectionPersister(array $association)
3045 3045
     {
3046 3046
         $role = isset($association['cache'])
3047
-            ? $association['sourceEntity'] . '::' . $association['fieldName']
3047
+            ? $association['sourceEntity'].'::'.$association['fieldName']
3048 3048
             : $association['type'];
3049 3049
 
3050 3050
         if (isset($this->collectionPersisters[$role])) {
@@ -3262,7 +3262,7 @@  discard block
 block discarded – undo
3262 3262
      */
3263 3263
     private function afterTransactionComplete()
3264 3264
     {
3265
-        $this->performCallbackOnCachedPersister(function (CachedPersister $persister) {
3265
+        $this->performCallbackOnCachedPersister(function(CachedPersister $persister) {
3266 3266
             $persister->afterTransactionComplete();
3267 3267
         });
3268 3268
     }
@@ -3272,7 +3272,7 @@  discard block
 block discarded – undo
3272 3272
      */
3273 3273
     private function afterTransactionRolledBack()
3274 3274
     {
3275
-        $this->performCallbackOnCachedPersister(function (CachedPersister $persister) {
3275
+        $this->performCallbackOnCachedPersister(function(CachedPersister $persister) {
3276 3276
             $persister->afterTransactionRolledBack();
3277 3277
         });
3278 3278
     }
@@ -3371,7 +3371,7 @@  discard block
 block discarded – undo
3371 3371
                     if ($other === null) {
3372 3372
                         $prop->setValue($managedCopy, null);
3373 3373
                     } else {
3374
-                        if ($other instanceof Proxy && !$other->__isInitialized()) {
3374
+                        if ($other instanceof Proxy && ! $other->__isInitialized()) {
3375 3375
                             // do not merge fields marked lazy that have not been fetched.
3376 3376
                             continue;
3377 3377
                         }
@@ -3460,7 +3460,7 @@  discard block
 block discarded – undo
3460 3460
      */
3461 3461
     private function clearIdentityMapForEntityName($entityName)
3462 3462
     {
3463
-        if (! isset($this->identityMap[$entityName])) {
3463
+        if ( ! isset($this->identityMap[$entityName])) {
3464 3464
             return;
3465 3465
         }
3466 3466
 
Please login to merge, or discard this patch.