Code Duplication    Length = 3-3 lines in 2 locations

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

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