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;
@@ 760-762 (lines=3) @@
757
                }
758
759
                // ignore inverse side of reference relationship
760
                if (isset($class->fieldMappings[$propName]['reference']) && $class->fieldMappings[$propName]['isInverseSide']) {
761
                    continue;
762
                }
763
764
                // Persistent collection was exchanged with the "originally"
765
                // created one. This can only mean it was cloned and replaced