Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 702-704 (lines=3) @@
699
                    $actualValue = $actualData[$propName];
700
                }
701
                // ignore inverse side of reference relationship
702
                if (isset($class->fieldMappings[$propName]['reference']) && $class->fieldMappings[$propName]['isInverseSide']) {
703
                    continue;
704
                }
705
                $changeSet[$propName] = array(null, $actualValue);
706
            }
707
            $this->documentChangeSets[$oid] = $changeSet;
@@ 765-767 (lines=3) @@
762
                }
763
764
                // ignore inverse side of reference relationship
765
                if (isset($class->fieldMappings[$propName]['reference']) && $class->fieldMappings[$propName]['isInverseSide']) {
766
                    continue;
767
                }
768
769
                // Persistent collection was exchanged with the "originally"
770
                // created one. This can only mean it was cloned and replaced