Completed
Pull Request — master (#5856)
by Fabio
16:00 queued 08:04
created
lib/Doctrine/ORM/Cache/DefaultQueryCache.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
 
131 131
             if ( ! $hasRelation) {
132 132
 
133
-                $result[$index]  = $this->uow->createEntity($entityEntry->class, $entityEntry->resolveAssociationEntries($this->em), self::$hints);
133
+                $result[$index] = $this->uow->createEntity($entityEntry->class, $entityEntry->resolveAssociationEntries($this->em), self::$hints);
134 134
 
135 135
                 continue;
136 136
             }
@@ -275,7 +275,7 @@  discard block
 block discarded – undo
275 275
                 // root entity association
276 276
                 if ($rootAlias === $parentAlias) {
277 277
                     // Cancel put result if association put fail
278
-                    if ( ($assocInfo = $this->storeAssociationCache($key, $assoc, $assocValue)) === null) {
278
+                    if (($assocInfo = $this->storeAssociationCache($key, $assoc, $assocValue)) === null) {
279 279
                         return false;
280 280
                     }
281 281
 
Please login to merge, or discard this patch.