Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 718-720 (lines=3) @@
715
                    $actualValue = $actualData[$propName];
716
                }
717
                // ignore inverse side of reference relationship
718
                if (isset($class->fieldMappings[$propName]['reference']) && $class->fieldMappings[$propName]['isInverseSide']) {
719
                    continue;
720
                }
721
                $changeSet[$propName] = array(null, $actualValue);
722
            }
723
            $this->documentChangeSets[$oid] = $changeSet;
@@ 780-782 (lines=3) @@
777
                }
778
779
                // ignore inverse side of reference relationship
780
                if (isset($class->fieldMappings[$propName]['reference']) && $class->fieldMappings[$propName]['isInverseSide']) {
781
                    continue;
782
                }
783
784
                // Persistent collection was exchanged with the "originally"
785
                // created one. This can only mean it was cloned and replaced