Code Duplication    Length = 3-3 lines in 2 locations

lib/Doctrine/ODM/MongoDB/UnitOfWork.php 2 locations

@@ 696-698 (lines=3) @@
693
                    $actualValue = $actualData[$propName];
694
                }
695
                // ignore inverse side of reference relationship
696
                if (isset($class->fieldMappings[$propName]['reference']) && $class->fieldMappings[$propName]['isInverseSide']) {
697
                    continue;
698
                }
699
                $changeSet[$propName] = array(null, $actualValue);
700
            }
701
            $this->documentChangeSets[$oid] = $changeSet;
@@ 759-761 (lines=3) @@
756
                }
757
758
                // ignore inverse side of reference relationship
759
                if (isset($class->fieldMappings[$propName]['reference']) && $class->fieldMappings[$propName]['isInverseSide']) {
760
                    continue;
761
                }
762
763
                // Persistent collection was exchanged with the "originally"
764
                // created one. This can only mean it was cloned and replaced