Completed
Push — master ( 247b08...4f28aa )
by Luís
10:18
created
lib/Doctrine/ORM/Cache/DefaultQueryCache.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.