Code Duplication    Length = 3-3 lines in 2 locations

lib/Doctrine/ORM/UnitOfWork.php 2 locations

@@ 487-489 (lines=3) @@
484
        // Only MANAGED entities that are NOT SCHEDULED FOR INSERTION OR DELETION are processed here.
485
        $oid = spl_object_hash($entity);
486
487
        if ( ! isset($this->entityInsertions[$oid]) && ! isset($this->entityDeletions[$oid]) && isset($this->entityStates[$oid])) {
488
            $this->computeChangeSet($class, $entity);
489
        }
490
    }
491
492
    /**
@@ 790-792 (lines=3) @@
787
                // Only MANAGED entities that are NOT SCHEDULED FOR INSERTION OR DELETION are processed here.
788
                $oid = spl_object_hash($entity);
789
790
                if ( ! isset($this->entityInsertions[$oid]) && ! isset($this->entityDeletions[$oid]) && isset($this->entityStates[$oid])) {
791
                    $this->computeChangeSet($class, $entity);
792
                }
793
            }
794
        }
795
    }