Code Duplication    Length = 3-3 lines in 2 locations

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

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