Code Duplication    Length = 3-3 lines in 2 locations

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

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