Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 709-711 (lines=3) @@
706
                    $actualValue = $actualData[$propName];
707
                }
708
                // ignore inverse side of reference relationship
709
                if (isset($class->fieldMappings[$propName]['reference']) && $class->fieldMappings[$propName]['isInverseSide']) {
710
                    continue;
711
                }
712
                $changeSet[$propName] = array(null, $actualValue);
713
            }
714
            $this->documentChangeSets[$oid] = $changeSet;
@@ 767-769 (lines=3) @@
764
                }
765
766
                // ignore inverse side of reference relationship
767
                if (isset($class->fieldMappings[$propName]['reference']) && $class->fieldMappings[$propName]['isInverseSide']) {
768
                    continue;
769
                }
770
771
                // Persistent collection was exchanged with the "originally"
772
                // created one. This can only mean it was cloned and replaced