Failed Conditions
Pull Request — 2.8.x (#8083)
by
unknown
61:51
created
lib/Doctrine/ORM/UnitOfWork.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2848,8 +2848,8 @@
 block discarded – undo
2848 2848
                     $this->originalEntityData[$oid][$field] = $newValue;
2849 2849
                     $class->reflFields[$field]->setValue($entity, $newValue);
2850 2850
 
2851
-		    if ($assoc['inversedBy'] && $assoc['type'] && ClassMetadata::ONE_TO_ONE  &&
2852
-			    isset($targetClass->associationMappings[$assoc['inversedBy']])) {
2851
+            if ($assoc['inversedBy'] && $assoc['type'] && ClassMetadata::ONE_TO_ONE  &&
2852
+                isset($targetClass->associationMappings[$assoc['inversedBy']])) {
2853 2853
 
2854 2854
                         $inverseAssoc = $targetClass->associationMappings[$assoc['inversedBy']];
2855 2855
                         $targetClass->reflFields[$inverseAssoc['fieldName']]->setValue($newValue, $entity);
Please login to merge, or discard this patch.