Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 637-639 (lines=3) @@
634
                    $actualValue = $actualData[$propName];
635
                }
636
                // ignore inverse side of reference relationship
637
                if (isset($class->fieldMappings[$propName]['reference']) && $class->fieldMappings[$propName]['isInverseSide']) {
638
                    continue;
639
                }
640
                $changeSet[$propName] = array(null, $actualValue);
641
            }
642
            $this->documentChangeSets[$oid] = $changeSet;
@@ 701-703 (lines=3) @@
698
                }
699
700
                // ignore inverse side of reference relationship
701
                if (isset($class->fieldMappings[$propName]['reference']) && $class->fieldMappings[$propName]['isInverseSide']) {
702
                    continue;
703
                }
704
705
                // Persistent collection was exchanged with the "originally"
706
                // created one. This can only mean it was cloned and replaced