Code Duplication    Length = 3-3 lines in 2 locations

lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php 1 location

@@ 530-532 (lines=3) @@
527
                }
528
            }
529
530
            if (isset($this->_hints[Query::HINT_INTERNAL_ITERATION]) && $this->_hints[Query::HINT_INTERNAL_ITERATION]) {
531
                $this->_uow->hydrationComplete();
532
            }
533
        }
534
535
        if ( ! isset($resultKey) ) {

lib/Doctrine/ORM/Internal/Hydration/SimpleObjectHydrator.php 1 location

@@ 150-152 (lines=3) @@
147
148
        $result[] = $entity;
149
150
        if (isset($this->_hints[Query::HINT_INTERNAL_ITERATION]) && $this->_hints[Query::HINT_INTERNAL_ITERATION]) {
151
            $this->_uow->hydrationComplete();
152
        }
153
    }
154
}
155