Code Duplication    Length = 3-3 lines in 2 locations

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

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