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