Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 686-688 (lines=3) @@
683
                    $actualValue = $actualData[$propName];
684
                }
685
                // ignore inverse side of reference relationship
686
                if (isset($class->fieldMappings[$propName]['reference']) && $class->fieldMappings[$propName]['isInverseSide']) {
687
                    continue;
688
                }
689
                $changeSet[$propName] = array(null, $actualValue);
690
            }
691
            $this->documentChangeSets[$oid] = $changeSet;
@@ 744-746 (lines=3) @@
741
                }
742
743
                // ignore inverse side of reference relationship
744
                if (isset($class->fieldMappings[$propName]['reference']) && $class->fieldMappings[$propName]['isInverseSide']) {
745
                    continue;
746
                }
747
748
                // Persistent collection was exchanged with the "originally"
749
                // created one. This can only mean it was cloned and replaced