@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | |
114 | 114 | $cm = $this->em->getClassMetadata($entityName); |
115 | 115 | |
116 | - $generateKeys = function (array $entry) use ($cm): EntityCacheKey { |
|
116 | + $generateKeys = function(array $entry) use ($cm): EntityCacheKey { |
|
117 | 117 | return new EntityCacheKey($cm->rootEntityName, $entry['identifier']); |
118 | 118 | }; |
119 | 119 | |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | |
141 | 141 | if ( ! $hasRelation) { |
142 | 142 | |
143 | - $result[$index] = $this->uow->createEntity($entityEntry->class, $entityEntry->resolveAssociationEntries($this->em), self::$hints); |
|
143 | + $result[$index] = $this->uow->createEntity($entityEntry->class, $entityEntry->resolveAssociationEntries($this->em), self::$hints); |
|
144 | 144 | |
145 | 145 | continue; |
146 | 146 | } |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | continue; |
179 | 179 | } |
180 | 180 | |
181 | - $collection = new PersistentCollection($this->em, $assocMetadata, new ArrayCollection()); |
|
181 | + $collection = new PersistentCollection($this->em, $assocMetadata, new ArrayCollection()); |
|
182 | 182 | |
183 | 183 | foreach ($assoc['list'] as $assocIndex => $assocId) { |
184 | 184 | |
@@ -284,7 +284,7 @@ discard block |
||
284 | 284 | // root entity association |
285 | 285 | if ($rootAlias === $parentAlias) { |
286 | 286 | // Cancel put result if association put fail |
287 | - if ( ($assocInfo = $this->storeAssociationCache($key, $assoc, $assocValue)) === null) { |
|
287 | + if (($assocInfo = $this->storeAssociationCache($key, $assoc, $assocValue)) === null) { |
|
288 | 288 | return false; |
289 | 289 | } |
290 | 290 |