Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 514-516 (lines=3) @@
511
                }
512
            }
513
514
            if (isset($this->hints[Query::HINT_INTERNAL_ITERATION]) && $this->hints[Query::HINT_INTERNAL_ITERATION]) {
515
                $this->uow->hydrationComplete();
516
            }
517
        }
518
519
        if ( ! isset($resultKey) ) {

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

@@ 132-134 (lines=3) @@
129
130
        $result[] = $entity;
131
132
        if (isset($this->hints[Query::HINT_INTERNAL_ITERATION]) && $this->hints[Query::HINT_INTERNAL_ITERATION]) {
133
            $this->uow->hydrationComplete();
134
        }
135
    }
136
}
137