Code Duplication    Length = 3-3 lines in 2 locations

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

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