Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 695-697 (lines=3) @@
692
                    $actualValue = $actualData[$propName];
693
                }
694
                // ignore inverse side of reference relationship
695
                if (isset($class->fieldMappings[$propName]['reference']) && $class->fieldMappings[$propName]['isInverseSide']) {
696
                    continue;
697
                }
698
                $changeSet[$propName] = array(null, $actualValue);
699
            }
700
            $this->documentChangeSets[$oid] = $changeSet;
@@ 753-755 (lines=3) @@
750
                }
751
752
                // ignore inverse side of reference relationship
753
                if (isset($class->fieldMappings[$propName]['reference']) && $class->fieldMappings[$propName]['isInverseSide']) {
754
                    continue;
755
                }
756
757
                // Persistent collection was exchanged with the "originally"
758
                // created one. This can only mean it was cloned and replaced