@@ -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 | } |
@@ -285,7 +285,7 @@ discard block |
||
285 | 285 | // root entity association |
286 | 286 | if ($rootAlias === $parentAlias) { |
287 | 287 | // Cancel put result if association put fail |
288 | - if ( ($assocInfo = $this->storeAssociationCache($key, $assoc, $assocValue)) === null) { |
|
288 | + if (($assocInfo = $this->storeAssociationCache($key, $assoc, $assocValue)) === null) { |
|
289 | 289 | return false; |
290 | 290 | } |
291 | 291 |