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;
@@ 777-779 (lines=3) @@
774
                }
775
776
                // ignore inverse side of reference relationship
777
                if (isset($class->fieldMappings[$propName]['reference']) && $class->fieldMappings[$propName]['isInverseSide']) {
778
                    continue;
779
                }
780
781
                // Persistent collection was exchanged with the "originally"
782
                // created one. This can only mean it was cloned and replaced