diff --git a/lib/Doctrine/ORM/Tools/Export/Driver/AnnotationExporter.php b/lib/Doctrine/ORM/Tools/Export/Driver/AnnotationExporter.php index 55d2abe9d..a38a4aec2 100644 --- a/lib/Doctrine/ORM/Tools/Export/Driver/AnnotationExporter.php +++ b/lib/Doctrine/ORM/Tools/Export/Driver/AnnotationExporter.php @@ -189,13 +189,13 @@ class AnnotationExporter extends AbstractExporter private function _getClassToExtendName() { - $refl = new \ReflectionClass($this->getClassToExtend()); + $refl = new \ReflectionClass($this->_getClassToExtend()); return $refl->getShortName(); } private function _getClassToExtendNamespace() { - $refl = new \ReflectionClass($this->getClassToExtend()); + $refl = new \ReflectionClass($this->_getClassToExtend()); return $refl->getNamespaceName() ? $refl->getNamespaceName():$refl->getShortName(); }