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